From b6da01a4ef4668e0437164c7d9cb30a58f299bdf Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 2 Nov 2010 22:27:54 -0400 Subject: Fixed a maintenance mode bug The code that made Four Island proper show the maintenance page was messing things up with The Fourm, so it was modified to only be run in Four Island proper--i.e: when the database configuration is defined. --- 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 c3041cf..4715a17 100755 --- a/includes/maintenance.php +++ b/includes/maintenance.php @@ -38,7 +38,7 @@ function isInMaintenance() return false; } -if (isInMaintenance()) +if ((isset($dbwebpasswd)) && (isInMaintenance())) { $template = new FITemplate('maintenance'); $template->display($template); -- cgit 1.4.1