summaryrefslogtreecommitdiff
path: root/www/functions/func_rewrite.php
diff options
context:
space:
mode:
authorroot2014-03-26 23:51:57 +0100
committerroot2014-03-26 23:51:57 +0100
commit43933b5939b329a4ab333b093a370dabe995e0ad (patch)
tree2a91a58038943a8998776edaf33ab003860c7b6f /www/functions/func_rewrite.php
parentcb74ce9e9702677225102fc06b5adda8ce692cdc (diff)
downloadfiles.iamfabulous.de-43933b5939b329a4ab333b093a370dabe995e0ad.tar.gz
Small changes.
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;