diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 8aa9e853e..48984ac52 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1178,7 +1178,12 @@ if (!empty($_GET["q"])) { } } else { - $_GET["q"] = variable_get("site_frontpage", "node"); + if ($path = drupal_get_normal_path(variable_get("site_frontpage", "node"))) { + $_GET["q"] = $path; + } + else { + $_GET["q"] = variable_get("site_frontpage", "node"); + } } // initialize installed modules: |