summaryrefslogtreecommitdiff
path: root/linkshorter/error.php
diff options
context:
space:
mode:
authorroot2014-11-27 02:41:21 +0100
committerroot2014-11-27 02:41:21 +0100
commit92babb43a2a0041a71b54db35cbc9d2fba908a63 (patch)
tree8971101b53b6a6b12a092b456dc11a4dbfc034a3 /linkshorter/error.php
parent2b24f3ef0e800f878177973eefcb28380a292503 (diff)
downloadtools.iamfabulous.de-92babb43a2a0041a71b54db35cbc9d2fba908a63.tar.gz
Rewrote the linkshorter.
Diffstat (limited to 'linkshorter/error.php')
-rw-r--r--linkshorter/error.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/linkshorter/error.php b/linkshorter/error.php
deleted file mode 100644
index 92ba713..0000000
--- a/linkshorter/error.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-require 'functions.php';
-ob_start("sanitize_output");
-
-switch($_GET["e"]){
- case("404"):
- do_output("<p><strong>The requested url ( ".htmlentities($_SERVER['REQUEST_URI'])." ) wasn't found on this server.</strong></p>", "404 Not Found", false, "<h1>400 - Not Found</h1>");
- break;
-
- default:
- do_output("<p>There was a failure and your request can't be proceeded.</p>", "500 Error", false, "<h1>Error!</h1>");
-}