X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/05252a1458855a3a9a3909601e1e894dc1aae590..c1ce40a295bda30d75ceed0ad5145eb576820650:/config.php.sample?ds=sidebyside diff --git a/config.php.sample b/config.php.sample index c40af52..7d8c8f1 100644 --- a/config.php.sample +++ b/config.php.sample @@ -5,13 +5,20 @@ * */ - if (!defined('UPATH')) die("Access denied"); +/** + * The base URL, how this panel can be accessed. + * This would be '/' if you installed in the web root, + * or something like '/webpanel/' if you go to http://x.y.z/webpanel + * IMPORTANT: needs a trailing slash! +*/ +define( 'BASE_URL', '/unrealircd-webpanel/' ); /** * The RPC User name as defined in your unrealircd.conf + * Guide / Documentation: https://www.unrealircd.org/docs/JSON-RPC */ define( 'UNREALIRCD_RPC_USER', 'apiuser' ); @@ -31,11 +38,25 @@ define( 'UNREALIRCD_HOST', '127.0.0.1' ); define( 'UNREALIRCD_PORT', '8000' ); /** - * You should set this to true if your RPC server is not on our local host + * You should set this to true, if your RPC server is not on your local host */ define( 'UNREALIRCD_SSL_VERIFY', false ); /** - * You should only need this if you're developing something. + * You should only need this, if you're developing something. */ -define( 'UNREALIRCD_DEBUG', false ); \ No newline at end of file +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", + ] +);