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:
parent
32178844b3
commit
2413cc9618
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user