summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-08 12:38:20 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-08 12:38:20 +0000
commit709b9005f57be838f3a0d4f516dd0d755d2ee5f2 (patch)
treeedf195b69d20283c34496f861e0230b7f7b61c1e /index.php
parent7863be5e82ccfbaa4aa9bac2343ad9e560130b44 (diff)
downloadbrdo-709b9005f57be838f3a0d4f516dd0d755d2ee5f2.tar.gz
brdo-709b9005f57be838f3a0d4f516dd0d755d2ee5f2.tar.bz2
- Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.
(Untested because the admin/settings page doesn't work yet.)
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index c77f84ba9..df07fff67 100644
--- a/index.php
+++ b/index.php
@@ -20,6 +20,9 @@ switch ($return) {
case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
+ case MENU_SITE_OFFLINE:
+ drupal_site_offline();
+ break;
default:
if (!empty($return)) {
print theme('page', $return);