mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
internalErrors renamed; can now also be set to apply to certain userGroups
This commit is contained in:
@@ -14,6 +14,8 @@ require 'includes/kernel.php';
|
||||
|
||||
if ($AoWoWconf['maintenance'] && !User::isInGroup(U_GROUP_EMPLOYEE))
|
||||
$smarty->brb();
|
||||
else if ($AoWoWconf['maintenance'] && User::isInGroup(U_GROUP_EMPLOYEE))
|
||||
$smarty->internalNotice(U_GROUP_EMPLOYEE, 'Maintenance mode enabled!');
|
||||
|
||||
switch ($pageCall)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user