summaryrefslogtreecommitdiff
path: root/www/functions/func_rewrite.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_rewrite.php')
-rwxr-xr-xwww/functions/func_rewrite.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/www/functions/func_rewrite.php b/www/functions/func_rewrite.php
index 48131f8..a58c7f9 100755
--- a/www/functions/func_rewrite.php
+++ b/www/functions/func_rewrite.php
@@ -17,15 +17,10 @@ function rewrite($db){
if($_SESSION["login"]){
header("Refresh: 0; /" . $_SESSION['username'] . "/" . $_GET["name"] . "/" . $folder . "");
- return false;
- } else {
+ }
- $wrong_folder = $_GET["name"];
- $working_path = $_GET["name"];
+ return false;
- get_404($working_path, $wrong_folder);
- return false;
- }
} else {
return true;
}