Commit 6958037d authored by Dries's avatar Dries

- Bugfix: made the "Default front page" setting work with URL aliases.  Patch
  by Matt.
parent 7f094195
......@@ -1178,7 +1178,12 @@ function drupal_page_footer() {
}
}
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:
......
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