summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2005-10-08 12:38:20 (GMT)
committerDries Buytaert2005-10-08 12:38:20 (GMT)
commit709b9005f57be838f3a0d4f516dd0d755d2ee5f2 (patch)
treeedf195b69d20283c34496f861e0230b7f7b61c1e /index.php
parent7863be5e82ccfbaa4aa9bac2343ad9e560130b44 (diff)
- 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 c77f84b..df07fff 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);