summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions')
-rw-r--r--www/functions/func_failure.php2
-rw-r--r--www/functions/func_rewrite.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/functions/func_failure.php b/www/functions/func_failure.php
index cff18a0..f7eb43f 100644
--- a/www/functions/func_failure.php
+++ b/www/functions/func_failure.php
@@ -2,7 +2,7 @@
/* --PAGE NOT FOUND - 404 -- */
function get_404($working_path, $wrong_folder){
- include("404.php");
+ include("httperror.php");
exit;
}
diff --git a/www/functions/func_rewrite.php b/www/functions/func_rewrite.php
index 5ca2171..ecc6db8 100644
--- a/www/functions/func_rewrite.php
+++ b/www/functions/func_rewrite.php
@@ -14,7 +14,7 @@ function rewrite($db){
if($_SESSION["login"]){
header("Refresh: 0; /" . $_SESSION[username] . "/" . $_GET["name"] . "/" . $_GET["folder"] . "");
- exit;
+ return false;
} else {
$wrong_folder = $_GET["name"];