]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | ||
3 | /** | |
4 | * The configuration file for your admin panel. | |
5 | * | |
6 | */ | |
7 | ||
8 | if (!defined('UPATH')) | |
9 | die("Access denied"); | |
10 | ||
11 | /** | |
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! | |
16 | */ | |
17 | define( 'BASE_URL', '/unrealircd-webpanel/' ); | |
18 | ||
19 | /** | |
20 | * The RPC User name as defined in your unrealircd.conf | |
21 | * Guide / Documentation: https://www.unrealircd.org/docs/JSON-RPC | |
22 | */ | |
23 | define( 'UNREALIRCD_RPC_USER', 'apiuser' ); | |
24 | ||
25 | /** | |
26 | * The RPC User password as defined in your unrealircd.conf | |
27 | */ | |
28 | define( 'UNREALIRCD_RPC_PASSWORD', 'securepassword' ); | |
29 | ||
30 | /** | |
31 | * The host IP or name of your RPC server | |
32 | */ | |
33 | define( 'UNREALIRCD_HOST', '127.0.0.1' ); | |
34 | ||
35 | /** | |
36 | * The port of your RPC server as defined in your unrealircd.conf | |
37 | */ | |
38 | define( 'UNREALIRCD_PORT', '8000' ); | |
39 | ||
40 | /** | |
41 | * You should set this to true, if your RPC server is not on your local host | |
42 | */ | |
43 | define( 'UNREALIRCD_SSL_VERIFY', false ); | |
44 | ||
45 | /** | |
46 | * You should only need this, if you're developing something. | |
47 | */ | |
48 | define( 'UNREALIRCD_DEBUG', false ); | |
49 | ||
50 | ||
51 | /** | |
52 | * Your list of plugins: | |
53 | */ | |
54 | define( | |
55 | 'PLUGINS', [ | |
56 | ||
57 | /* This is where you should type the name(s) of your plugins. | |
58 | * Uncomment the following line to view the live example | |
59 | */ | |
60 | //"example_plugin", | |
61 | ] | |
62 | ); |