summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
Diffstat (limited to 'error.php')
-rw-r--r--error.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/error.php b/error.php
index c4db050d0..b87c425ef 100644
--- a/error.php
+++ b/error.php
@@ -2,11 +2,7 @@
include_once "includes/common.inc";
-$errors = array(500 => "500 error: internal server error",
- 404 => "404 error: `$REDIRECT_URL' not found",
- 403 => "403 error: access denied - forbidden",
- 401 => "401 error: authorization required",
- 400 => "400 error: bad request");
+$errors = array(500 => "500 error: internal server error", 404 => "404 error: `$REDIRECT_URL' not found", 403 => "403 error: access denied - forbidden", 401 => "401 error: authorization required", 400 => "400 error: bad request");
watchdog("httpd", $errors[$REDIRECT_STATUS]);