summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-29 06:58:56 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-29 06:58:56 +0000
commit22cf0b4ef704eab98d336abfd02fa93477c82d39 (patch)
tree98ec1d64e84f972c7766b68c13fdd78b5e29464c /includes/menu.inc
parentef7d2c8a9fe188ee138101ec839246303972ac0d (diff)
downloadbrdo-22cf0b4ef704eab98d336abfd02fa93477c82d39.tar.gz
brdo-22cf0b4ef704eab98d336abfd02fa93477c82d39.tar.bz2
- Patch #35410 by kbahey: made site offline feature work.
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 9fc2ab465..30cc56cd6 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;
}
}