summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert2003-12-16 21:06:34 (GMT)
committerDries Buytaert2003-12-16 21:06:34 (GMT)
commit670a292277682351c373780746aedd5c110b3b08 (patch)
treef6122c8d99f90f001e0d5e0d84f2dde8f99e0214 /index.php
parent595c790a9c488b16875e4a0f8eb5a35e0df2845c (diff)
- Reworked 404 (page not found) handling. Patch by walkah. You can specify a
custom 404 page in the administration page. As a result, error.php could be removed.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 76fdd98..4062ce5 100644
--- a/index.php
+++ b/index.php
@@ -13,7 +13,7 @@ if (menu_active_handler_exists()) {
menu_execute_active_handler();
}
else {
- print theme("page", "");
+ drupal_not_found();
}
drupal_page_footer();