summaryrefslogtreecommitdiff
path: root/www/functions/func_failure.php
blob: 19a82798ae16f704aaa396b348a949d10e07fab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}