summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-11-02 22:27:54 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-11-02 22:27:54 -0400
commitb6da01a4ef4668e0437164c7d9cb30a58f299bdf (patch)
treed293b787167bec132f9359149963ceaea98677c6
parent12c96d85cf13b1e57d6a38e101223f00e2c44ca3 (diff)
downloadfourisland-b6da01a4ef4668e0437164c7d9cb30a58f299bdf.tar.gz
fourisland-b6da01a4ef4668e0437164c7d9cb30a58f299bdf.tar.bz2
fourisland-b6da01a4ef4668e0437164c7d9cb30a58f299bdf.zip
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.
-rwxr-xr-xincludes/maintenance.php2
1 files changed, 1 insertions, 1 deletions
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()
38 return false; 38 return false;
39} 39}
40 40
41if (isInMaintenance()) 41if ((isset($dbwebpasswd)) && (isInMaintenance()))
42{ 42{
43 $template = new FITemplate('maintenance'); 43 $template = new FITemplate('maintenance');
44 $template->display($template); 44 $template->display($template);