diff options
| author | moehm | 2014-05-30 11:04:28 +0200 |
|---|---|---|
| committer | moehm | 2014-05-30 11:04:28 +0200 |
| commit | d6997febbdf6d424fcd0702e3324588387dc2cd9 (patch) | |
| tree | 9ebe96433d2ae394e95a78e87e1a7f0831ab85b0 /www/error.php | |
| parent | e5e8ee54e4b404d0cbdf69bebc3d9bdd9bd04855 (diff) | |
| download | random-d6997febbdf6d424fcd0702e3324588387dc2cd9.tar.gz | |
rewrite
Diffstat (limited to 'www/error.php')
| -rw-r--r-- | www/error.php | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/www/error.php b/www/error.php deleted file mode 100644 index f930068..0000000 --- a/www/error.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php - -switch($_GET["e"]){ - case("401"): - $title="401"; - $message="Restricted area. Access denied."; - break; - case("403"): - $title="403"; - $message="I could do that. I choose not to..."; - break; - case("404"): - $title="404"; - $message="These aren't the droids you are looking for."; - break; - case("500"): - $title="500"; - $message="Upps, there went something wrong. Don't worry, that's not your fault. Just refresh this site and it should work again."; - header("Refresh: 2;"); - break; - case("502"): - $title="502"; - $message="Bad Gateway. It's not my fault, really.'"; - break; - case("504"): - $title="504"; - $message="Sorry, I don't have the whole day time. Too impatient."; - break; -} - -?> -<!DOCTYPE html> -<html> -<head> - <title><?php echo $title; ?> error code></title> - <meta http-equiv='Content-type' content='text/html; charset=utf-8' /> - <link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /> - <link rel='stylesheet' type='text/css' href='style.css'/> -</head> -<body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'> -<center> -<?php -include("header.php"); -include("piwik.php"); - -echo "<h1>".$title." error!</h1>"; -echo "<p>".$message."</p>"; -?> -<a href="">Try again<a> -</body> |
