internalErrors renamed; can now also be set to apply to certain userGroups

This commit is contained in:
Sarjuuk
2013-12-15 23:49:07 +01:00
parent 60533ff27a
commit edaaba6139
2 changed files with 29 additions and 19 deletions

View File

@@ -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)
{