summary refs log tree commit diff stats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/maintenance.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/maintenance.php b/includes/maintenance.php index 79466f9..b3150c5 100755 --- a/includes/maintenance.php +++ b/includes/maintenance.php
@@ -27,7 +27,7 @@ $getconfig2 = mysql_query($getconfig);
27$getconfig3 = mysql_fetch_array($getconfig2); 27$getconfig3 = mysql_fetch_array($getconfig2);
28if ($getconfig3['value'] == '1') 28if ($getconfig3['value'] == '1')
29{ 29{
30 if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1') 30 if (($_SERVER['REMOTE_ADDR'] != '127.0.0.1') && (!isAdmin()))
31 { 31 {
32 $template = new FITemplate('maintenance'); 32 $template = new FITemplate('maintenance');
33 $template->display($template); 33 $template->display($template);