From 246cd8a39c64c174171784fb891a6aca8e3c7dc4 Mon Sep 17 00:00:00 2001
From: oweissbarth
Date: Wed, 12 Mar 2014 19:32:21 +0100
Subject: Added all specified error messages
---
www/httperror.php | 27 +++++++++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
(limited to 'www/httperror.php')
diff --git a/www/httperror.php b/www/httperror.php
index 5deff9f..58ac0cc 100644
--- a/www/httperror.php
+++ b/www/httperror.php
@@ -19,7 +19,30 @@
-
404
- Wow! I didn't see that coming...Well, I'm sorry...
+ 404';
+ echo 'Wow! I didn't see that coming...Well, I'm sorry...
';
+ echo '"'.$wrong_folder.'" wasn't found in "'. implode("/", $working_path)."/". '"
';
+
+ }elseif($_GET['e']==401){
+ echo ''.$_GET['e'].'
';
+ echo 'Restricted Area | Authorized Personnel only
';
+
+ }elseif($_GET['e']==403){
+ echo ''.$_GET['e'].'
';
+ echo 'I could do that. I choose not to...
';
+
+ }elseif($_GET['e']==500){
+ echo ''.$_GET['e'].'
';
+ echo 'Oops! No that didn't just happen. NO.... Fine, it's my fault and i feel bad.
';
+
+ }elseif($_GET['e']==502){
+ echo ''.$_GET['e'].'
';
+ echo 'A server i'm trying to contact is acting stupid. It's not my fault. I swear.
';
+
+ }elseif($_GET['e']==504){
+ echo ''.$_GET['e'].'
';
+ echo 'A server i'm trying to contact is insanely slow. I can't wait forever. I'm sorry!
';
+ }?>
--
cgit v1.2.3