From 670a292277682351c373780746aedd5c110b3b08 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 16 Dec 2003 21:06:34 +0000 Subject: - 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. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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(); -- cgit v1.2.3