aboutsummaryrefslogtreecommitdiff
path: root/www/functions/func_failure.php
diff options
context:
space:
mode:
authorroot2014-04-14 08:35:13 +0200
committerroot2014-04-14 08:35:13 +0200
commit12734da8826299ffd24c0a15f6dbf205892d7221 (patch)
tree3b894dd30e332df23a564ce44e42ce164c8abd78 /www/functions/func_failure.php
parent7b9d516cd3bcdb8eaa5f1eb533d71010061c681b (diff)
downloadjungegemeinde-12734da8826299ffd24c0a15f6dbf205892d7221.tar.gz
Pushed to v3
Diffstat (limited to 'www/functions/func_failure.php')
-rwxr-xr-xwww/functions/func_failure.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/functions/func_failure.php b/www/functions/func_failure.php
new file mode 100755
index 0000000..e54cfaf
--- /dev/null
+++ b/www/functions/func_failure.php
@@ -0,0 +1,13 @@
+<?php
+/* --PAGE NOT FOUND - 404 -- */
+
+//function get_404($working_path, $wrong_folder){
+// include("httperror.php");
+// exit;
+//}
+
+function failure($reason){
+ echo "A 404 error occurred. <br>";
+ echo $reason;
+ exit;
+}