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 971a473e09
commit d65bf26771

View File

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