diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2010-11-02 22:27:54 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2010-11-02 22:27:54 -0400 |
commit | b6da01a4ef4668e0437164c7d9cb30a58f299bdf (patch) | |
tree | d293b787167bec132f9359149963ceaea98677c6 /includes/maintenance.php | |
parent | 12c96d85cf13b1e57d6a38e101223f00e2c44ca3 (diff) | |
download | fourisland-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.
Diffstat (limited to 'includes/maintenance.php')
-rwxr-xr-x | includes/maintenance.php | 2 |
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 | ||
41 | if (isInMaintenance()) | 41 | if ((isset($dbwebpasswd)) && (isInMaintenance())) |
42 | { | 42 | { |
43 | $template = new FITemplate('maintenance'); | 43 | $template = new FITemplate('maintenance'); |
44 | $template->display($template); | 44 | $template->display($template); |