summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/index.php b/index.php
index 9ab6e6638..5356050f6 100644
--- a/index.php
+++ b/index.php
@@ -9,13 +9,12 @@ fix_gpc_magic();
$status = menu_execute_active_handler();
switch ($status) {
- case MENU_FOUND:
+ case MENU_NOT_FOUND:
+ drupal_not_found();
break;
- case MENU_DENIED:
+ case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
- default:
- drupal_not_found();
}
drupal_page_footer();