summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2005-10-29 06:58:56 (GMT)
committerDries Buytaert2005-10-29 06:58:56 (GMT)
commit22cf0b4ef704eab98d336abfd02fa93477c82d39 (patch)
tree98ec1d64e84f972c7766b68c13fdd78b5e29464c
parentef7d2c8a9fe188ee138101ec839246303972ac0d (diff)
- Patch #35410 by kbahey: made site offline feature work.
-rw-r--r--includes/menu.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 9fc2ab4..30cc56c 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -1065,7 +1065,7 @@ function _menu_site_is_offline() {
// Check if the user has administration privileges
if (!user_access('administer site configuration')) {
// Check if this is an attempt to login
- if (drupal_get_normal_path($_GET['q']) != 'user/login') {
+ if (drupal_get_normal_path($_GET['q']) != 'user') {
return TRUE;
}
}