summaryrefslogtreecommitdiff
path: root/www/functions/func_failure.php
diff options
context:
space:
mode:
authorHorus32014-03-12 02:50:30 +0100
committerHorus32014-03-12 02:50:30 +0100
commit8970954933ecf4b5c842027faa7c52f85cc25fe2 (patch)
treee502119b624197871550d72d55c2e9a9f2a4f05b /www/functions/func_failure.php
parent0148c370ea13ee0469bd67260cf8c9fe9c97677d (diff)
downloadfiles.iamfabulous.de-8970954933ecf4b5c842027faa7c52f85cc25fe2.tar.gz
Structure in functions. Stronger hash algorith for password safety, also pepper.
Diffstat (limited to 'www/functions/func_failure.php')
-rw-r--r--www/functions/func_failure.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/functions/func_failure.php b/www/functions/func_failure.php
new file mode 100644
index 0000000..682aced
--- /dev/null
+++ b/www/functions/func_failure.php
@@ -0,0 +1,12 @@
+/* --PAGE NOT FOUND - 404 -- */
+
+function get_404($working_path, $wrong_folder){
+ include("404.php");
+ exit;
+}
+
+function failure($reason){
+ echo "A 404 error occurred. <br>";
+ echo $reason;
+ exit;
+}