Commit 22cf0b4e authored by Dries's avatar Dries

- Patch #35410 by kbahey: made site offline feature work.

parent ef7d2c8a
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment