]>
Commit | Line | Data |
---|---|---|
26971737 VP |
1 | <?php |
2 | ||
3 | /** | |
4 | * The configuration file for your admin panel. | |
5 | * | |
6 | */ | |
7 | ||
26971737 VP |
8 | if (!defined('UPATH')) |
9 | die("Access denied"); | |
10 | ||
27efe895 BM |
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 | */ | |
240831b5 | 17 | define( 'BASE_URL', '/unrealircd-webpanel/' ); |
26971737 VP |
18 | |
19 | /** | |
20 | * The RPC User name as defined in your unrealircd.conf | |
0b163f47 | 21 | * Guide / Documentation: https://www.unrealircd.org/docs/JSON-RPC |
26971737 VP |
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 | /** | |
0b163f47 | 41 | * You should set this to true, if your RPC server is not on your local host |
26971737 VP |
42 | */ |
43 | define( 'UNREALIRCD_SSL_VERIFY', false ); | |
44 | ||
45 | /** | |
0b163f47 | 46 | * You should only need this, if you're developing something. |
26971737 | 47 | */ |
90dc8f2b VP |
48 | define( 'UNREALIRCD_DEBUG', false ); |
49 | ||
50 | ||
5d8e394e VP |
51 | /** |
52 | * If you wish to use the default SQL user authentication system, | |
53 | * you'll need to specify your SQL information below. | |
54 | */ | |
55 | ||
56 | /** | |
57 | * SQL IP address or hostname | |
58 | */ | |
59 | define('SQL_IP', "127.0.0.1"); | |
60 | ||
61 | /** | |
62 | * SQL Dabase name | |
63 | */ | |
64 | define('SQL_DATABASE', "unrealircd"); | |
65 | /** | |
66 | * SQL Username | |
67 | */ | |
68 | define('SQL_USERNAME', "unrealircd"); | |
69 | ||
70 | /** | |
71 | * SQL Password | |
72 | */ | |
73 | define('SQL_PASSWORD', "replace_this_with_your_sql_password"); | |
74 | ||
75 | /** | |
76 | * SQL Table prefix | |
77 | * You should only need to change this if you have already have one | |
78 | * or more instances of webpanel on the same database | |
79 | */ | |
80 | define('SQL_PREFIX', "unreal_"); | |
81 | ||
82 | ||
90dc8f2b VP |
83 | /** |
84 | * Your list of plugins: | |
85 | */ | |
86 | define( | |
87 | 'PLUGINS', [ | |
88 | ||
89 | /* This is where you should type the name(s) of your plugins. | |
90 | * Uncomment the following line to view the live example | |
91 | */ | |
92 | //"example_plugin", | |
93 | ] | |
0b163f47 | 94 | ); |