From d27a3784c81f0c582e43655509e806978b7e65e4 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 3 Jun 2009 09:36:05 -0400 Subject: Allowed admin user to use site during maintenance --- includes/maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/maintenance.php') 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); $getconfig3 = mysql_fetch_array($getconfig2); if ($getconfig3['value'] == '1') { - if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1') + if (($_SERVER['REMOTE_ADDR'] != '127.0.0.1') && (!isAdmin())) { $template = new FITemplate('maintenance'); $template->display($template); -- cgit 1.4.1