1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 18:47:20 +01:00

Added a check to stop redefining JANITOR, MOD and ADMIN

This commit is contained in:
Savetheinternet 2011-02-16 19:38:08 +11:00
parent 32178844b3
commit 2413cc9618

View File

@ -215,9 +215,11 @@
$config['mod']['ip_recentposts'] = 5; $config['mod']['ip_recentposts'] = 5;
// Probably best not to change these: // Probably best not to change these:
define('JANITOR', 0, true); if(!defined('JANITOR')) {
define('MOD', 1, true); define('JANITOR', 0, true);
define('ADMIN', 2, true); define('MOD', 1, true);
define('ADMIN', 2, true);
}
// Permissions // Permissions
// What level of administration you need to: // What level of administration you need to: