From d65bf26771bd364b8b2b6b335ed1928473614cae Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 16 Feb 2011 19:38:08 +1100 Subject: [PATCH] Added a check to stop redefining JANITOR, MOD and ADMIN --- inc/config.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/config.php b/inc/config.php index b3c2597a..a15f5831 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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: