summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-16 19:38:08 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-16 19:38:08 +1100
commitd65bf26771bd364b8b2b6b335ed1928473614cae (patch)
treee4aac84c0927d842339b548259afdfb789c5ae95 /inc
parent971a473e09334d48d68eecff4dfadadfb342f662 (diff)
Added a check to stop redefining JANITOR, MOD and ADMIN
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php8
1 files 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: