]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - config.php.sample
Add ability to add and delete access to the panel
[irc/unrealircd/unrealircd-webpanel.git] / config.php.sample
index 7d8c8f1c966d680eeb5d194b9e1a9e1bbe5abd02..a019293e71ed7c535bce250392594b92bebe90a5 100644 (file)
@@ -48,6 +48,48 @@ define( 'UNREALIRCD_SSL_VERIFY', false );
 define( 'UNREALIRCD_DEBUG', false );
 
 
+/**
+ * If you wish to use the default SQL user authentication system,
+ * you'll need to specify your SQL information below.
+ */
+
+ /**
+  * SQL IP address or hostname
+  */
+define('SQL_IP', "127.0.0.1");
+
+/**
+ * SQL Dabase name
+ */
+define('SQL_DATABASE', "unrealircd");
+/**
+ * SQL Username
+ */
+define('SQL_USERNAME', "unrealircd");
+
+/**
+ * SQL Password
+ */
+define('SQL_PASSWORD', "replace_this_with_your_sql_password");
+
+/**
+ * SQL Table prefix
+ * You should only need to change this if you have already have one
+ * or more instances of webpanel on the same database
+ */
+define('SQL_PREFIX', "unreal_");
+
+
+/** 
+ * 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('SQL_DEFAULT_USER', [
+    "username" => "default",
+    "password" => "testing"
+]);
+
 /**
  * Your list of plugins:
  */