From 9c3bb2457b1d05cb0c044260cfaaaad2a9935b96 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Mar 2014 03:19:52 +0100 Subject: Fixed the path for the css file --- www/functions/func_failure.php | 2 +- www/functions/func_rewrite.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www/functions') 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"]; -- cgit v1.2.3