summaryrefslogtreecommitdiff
path: root/error.php
blob: 0a939ea6a18a48e0386326cebf86df15c12e73bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
// $Id$

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");

watchdog("httpd", $errors[$_SERVER["REDIRECT_STATUS"]);

drupal_goto($base_url);

?>