diff options
Diffstat (limited to 'www/functions/func_failure.php')
| -rw-r--r-- | www/functions/func_failure.php | 12 |
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; +} |
