summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
authorroot2014-03-12 03:19:52 +0100
committerroot2014-03-12 03:19:52 +0100
commit9c3bb2457b1d05cb0c044260cfaaaad2a9935b96 (patch)
tree5e9e7a72443d858751f005dcab29424975ab474f /www/functions
parent0f696dd3eed81e6223d9a5369265ea23cca2bfd1 (diff)
downloadfiles.iamfabulous.de-9c3bb2457b1d05cb0c044260cfaaaad2a9935b96.tar.gz
Fixed the path for the css file
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"];