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:
parent
32178844b3
commit
2413cc9618
@ -215,9 +215,11 @@
|
|||||||
$config['mod']['ip_recentposts'] = 5;
|
$config['mod']['ip_recentposts'] = 5;
|
||||||
|
|
||||||
// Probably best not to change these:
|
// Probably best not to change these:
|
||||||
define('JANITOR', 0, true);
|
if(!defined('JANITOR')) {
|
||||||
define('MOD', 1, true);
|
define('JANITOR', 0, true);
|
||||||
define('ADMIN', 2, true);
|
define('MOD', 1, true);
|
||||||
|
define('ADMIN', 2, true);
|
||||||
|
}
|
||||||
|
|
||||||
// Permissions
|
// Permissions
|
||||||
// What level of administration you need to:
|
// What level of administration you need to:
|
||||||
|
Loading…
Reference in New Issue
Block a user