]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - config.php.sample
Make a start on filtering for later
[irc/unrealircd/unrealircd-webpanel.git] / config.php.sample
index 94a47e9e4704c1b946f62ffdfe5ce45937412197..6726eb846ed634231fd05ca03336ca027851f8e9 100644 (file)
@@ -6,7 +6,7 @@
  */
 
  if (!defined('UPATH'))
-    die("Access denied");
+       die("Access denied");
 
 /**
  * The base URL, how this panel can be accessed.
@@ -47,14 +47,33 @@ define( 'UNREALIRCD_SSL_VERIFY', false );
 */
 define( 'UNREALIRCD_DEBUG', false );
 
+/**
+ * Your list of plugins:
+ */
+define(
+       'PLUGINS', [
+
+               /*  This is where you should type the name(s) of your plugins. 
+                *  Uncomment the following line to view the live example
+               */
+               //"example_plugin", /* An example plugin */
+               //"sql_auth", /* Provides a login page which uses SQL */
+       ]
+);
+
 
 /**
- * If you wish to use the default SQL user authentication system,
+ * If you wish to use the SQL user authentication system "sql_auth",
  * you'll need to specify your SQL information below.
  */
 
  /**
   * SQL IP address or hostname
+  * You may specify a unix domain socket directory address
+  * E.g:
+  *     define('SQL_IP', "/path/to/unix/domain/socket");
+  *
+  * Path to unix socket MUST start with a slash "/"
   */
 define('SQL_IP', "127.0.0.1");
 
@@ -80,15 +99,22 @@ define('SQL_PASSWORD', "replace_this_with_your_sql_password");
 define('SQL_PREFIX', "unreal_");
 
 
-/**
- * Your list of plugins:
+/** 
+ * The default user for the plugin "SQL_Auth". As soon as you load
+ * the plugin, the user defined below will be created. It suggested
+ * that you remove it after you've logged in successfully.
  */
-define(
-    'PLUGINS', [
+define('SQL_DEFAULT_USER', [
+       "username" => "default",
+       "password" => "testing"
+]);
 
-        /*  This is where you should type the name(s) of your plugins. 
-         *  Uncomment the following line to view the live example
-        */
-        //"example_plugin",
-    ]
-);
+/**
+ * Also part of the SQL_Auth plugin. This protects your login page.
+ * This is a list of DNS Blacklists that get checked for non-logged-in
+ * users.
+*/
+define('DNSBL', [
+       "dnsbl.dronebl.org",
+       "rbl.efnetrbl.org"
+]);