1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +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;
// 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: