]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - config.php.sample
Overview: Make top margin of bottom row smaller
[irc/unrealircd/unrealircd-webpanel.git] / config.php.sample
index 1576a8b02915dd8a88291cf8fd448f442b356cb7..53e239ae0b097de95d219f00f72b711ba2e2cd47 100644 (file)
@@ -6,7 +6,7 @@
  */
 
  if (!defined('UPATH'))
-    die("Access denied");
+       die("Access denied");
 
 /**
  * The base URL, how this panel can be accessed.
@@ -51,14 +51,15 @@ 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 */
-    ]
+       '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 */
+               //"php_mailer", /* Provides ability to send emails on behalf of the admin panel */
+       ]
 );
 
 
@@ -69,6 +70,11 @@ define(
 
  /**
   * 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");
 
@@ -100,8 +106,8 @@ define('SQL_PREFIX', "unreal_");
  * that you remove it after you've logged in successfully.
  */
 define('SQL_DEFAULT_USER', [
-    "username" => "default",
-    "password" => "testing"
+       "username" => "default",
+       "password" => "testing"
 ]);
 
 /**
@@ -110,6 +116,19 @@ define('SQL_DEFAULT_USER', [
  * users.
 */
 define('DNSBL', [
-    "dnsbl.dronebl.org",
+       "dnsbl.dronebl.org",
        "rbl.efnetrbl.org"
 ]);
+
+/** Your email settings
+ * Requires plugin "php_mailer"
+*/
+define('EMAIL_SETTINGS', [
+    "host" => 'smtp.host.example.com',
+    "port" => 587,
+    "encryption" => 'tls', /* Use 'tls' for STARTTLS or 'ssl' for TLS/SSL
+    "username" => "youremail@example.com", /* The email to login with and send emails from */
+    "password" => "supersecretpassword", /* The password for the above email */
+    "from_name" => "UnrealIRCd Admin Panel",
+
+]);
\ No newline at end of file