summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 7c4fda6a0..692279b98 100644
--- a/index.php
+++ b/index.php
@@ -6,6 +6,10 @@ include_once "includes/common.inc";
if (isset($_GET["q"])) {
$mod = arg(0);
}
+else {
+ $_GET["q"] = variable_get("site_frontpage", "node");
+ $mod = arg(0);
+}
if (isset($mod) && module_hook($mod, "page")) {
if ($mod != "admin") {