4 * The configuration file for your admin panel.
12 * The base URL, how this panel can be accessed.
13 * This would be '/' if you installed in the web root,
14 * or something like '/webpanel/' if you go to http://x.y.z/webpanel
15 * IMPORTANT: needs a trailing slash!
17 define( 'BASE_URL', '/unrealircd-webpanel/' );
20 * The RPC User name as defined in your unrealircd.conf
21 * Guide / Documentation: https://www.unrealircd.org/docs/JSON-RPC
23 define( 'UNREALIRCD_RPC_USER', 'apiuser' );
26 * The RPC User password as defined in your unrealircd.conf
28 define( 'UNREALIRCD_RPC_PASSWORD', 'securepassword' );
31 * The host IP or name of your RPC server
33 define( 'UNREALIRCD_HOST', '127.0.0.1' );
36 * The port of your RPC server as defined in your unrealircd.conf
38 define( 'UNREALIRCD_PORT', '8000' );
41 * You should set this to true, if your RPC server is not on your local host
43 define( 'UNREALIRCD_SSL_VERIFY', false );
46 * You should only need this, if you're developing something.
48 define( 'UNREALIRCD_DEBUG', false );
51 * Your list of plugins:
56 /* This is where you should type the name(s) of your plugins.
57 * Uncomment the following line to view the live example
59 //"example_plugin", /* An example plugin */
60 //"sql_auth", /* Provides a login page which uses SQL */
61 //"php_mailer", /* Provides ability to send emails on behalf of the admin panel */
67 * If you wish to use the SQL user authentication system "sql_auth",
68 * you'll need to specify your SQL information below.
72 * SQL IP address or hostname
73 * You may specify a unix domain socket directory address
75 * define('SQL_IP', "/path/to/unix/domain/socket");
77 * Path to unix socket MUST start with a slash "/"
79 define('SQL_IP', "127.0.0.1");
84 define('SQL_DATABASE', "unrealircd");
88 define('SQL_USERNAME', "unrealircd");
93 define('SQL_PASSWORD', "replace_this_with_your_sql_password");
97 * You should only need to change this if you have already have one
98 * or more instances of webpanel on the same database
100 define('SQL_PREFIX', "unreal_");
104 * The default user for the plugin "SQL_Auth". As soon as you load
105 * the plugin, the user defined below will be created. It suggested
106 * that you remove it after you've logged in successfully.
108 define('SQL_DEFAULT_USER', [
109 "username" => "default",
110 "password" => "testing"
114 * Also part of the SQL_Auth plugin. This protects your login page.
115 * This is a list of DNS Blacklists that get checked for non-logged-in
123 /** Your email settings
124 * Requires plugin "php_mailer"
126 define('EMAIL_SETTINGS', [
127 "host" => 'smtp.host.example.com',
129 "encryption" => 'tls', /* Use 'tls' for STARTTLS or 'ssl' for TLS/SSL
130 "username" => "youremail@example.com", /* The email to login with and send emails from */
131 "password" => "supersecretpassword", /* The password for the above email */
132 "from_name" => "UnrealIRCd Admin Panel",