summaryrefslogtreecommitdiff
path: root/www/functions/func_rewrite.php
diff options
context:
space:
mode:
authorHorus32014-03-27 00:23:09 +0100
committerHorus32014-03-27 00:23:09 +0100
commit09b1bac5a4543cdacc67be1752d9593d58a3eee0 (patch)
tree19458c42cd699ea98d9b423618db633cb9e886f3 /www/functions/func_rewrite.php
parent768f0f6a1ec5aaaa576fdc1bd283973a8a5ffc89 (diff)
parent43933b5939b329a4ab333b093a370dabe995e0ad (diff)
downloadfiles.iamfabulous.de-09b1bac5a4543cdacc67be1752d9593d58a3eee0.tar.gz
Merge branch 'master' of git.iamfabulous.de:files.iamfabulous.de
Diffstat (limited to 'www/functions/func_rewrite.php')
-rwxr-xr-xwww/functions/func_rewrite.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/functions/func_rewrite.php b/www/functions/func_rewrite.php
index d9f694d..0a123d6 100755
--- a/www/functions/func_rewrite.php
+++ b/www/functions/func_rewrite.php
@@ -16,7 +16,9 @@ function rewrite($db){
}
if($_SESSION["login"]){
+ $scheme = $GLOBALS["scheme"];
header("Refresh: 0; ".$scheme.$_SERVER["HTTP_HOST"]."/" . $_SESSION['username'] . "/" . $_GET["name"] . "/" . $folder . "");
+ exit;
}
return false;