diff options
Diffstat (limited to 'error.php')
-rw-r--r-- | error.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/error.php b/error.php deleted file mode 100644 index 072f7b126..000000000 --- a/error.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -// $Id$ - -include_once "includes/bootstrap.inc"; -include_once "includes/common.inc"; - -$errors = array( - 500 => "500 error: internal server error", - 404 => "404 error: '". $_SERVER["REDIRECT_URL"] ."' not found", - 403 => "403 error: access denied - forbidden", - 401 => "401 error: authorization required", - 400 => "400 error: bad request" -); - -if ($errors[$_SERVER["REDIRECT_STATUS"]]) { - watchdog("httpd", $errors[$_SERVER["REDIRECT_STATUS"]]); - header("HTTP/1.0 ". $errors[$_SERVER["REDIRECT_STATUS"]]); -} - -include_once("$base_url/index.php"); -?> |