summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-16 21:06:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-16 21:06:34 +0000
commit670a292277682351c373780746aedd5c110b3b08 (patch)
treef6122c8d99f90f001e0d5e0d84f2dde8f99e0214 /index.php
parent595c790a9c488b16875e4a0f8eb5a35e0df2845c (diff)
downloadbrdo-670a292277682351c373780746aedd5c110b3b08.tar.gz
brdo-670a292277682351c373780746aedd5c110b3b08.tar.bz2
- 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 76fdd98ff..4062ce5bb 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();