summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKjartan Mannes2003-11-18 23:37:48 (GMT)
committerKjartan Mannes2003-11-18 23:37:48 (GMT)
commit2ffa04f5f26c6895b94f0e2a2d00e134b922ba80 (patch)
tree79483acc91e17e1e6c91ff72db86a22bd4b7244f /index.php
parentfe9a6afa0875918f7cde61acb7ba766853ff1f84 (diff)
- Fixes bug #4100: First visit to site results in 'access denied' page.
- Fixed sess_write(). - Removed dead code in index.php.
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/index.php b/index.php
index 6493bdf..7c4ea13 100644
--- a/index.php
+++ b/index.php
@@ -32,13 +32,8 @@ else {
module_invoke($mod, "page");
}
else {
- if (module_hook(variable_get("site_frontpage", "node"), "page")) {
- module_invoke(variable_get("site_frontpage", "node"), "page");
- }
- else {
- print theme("header");
- print theme("footer");
- }
+ print theme("header");
+ print theme("footer");
}
}