summaryrefslogtreecommitdiff
path: root/www/functions/func_rewrite.php
diff options
context:
space:
mode:
authorroot2014-03-26 03:07:06 +0100
committerroot2014-03-26 03:07:06 +0100
commite009b1e84dcbcc83f39652695eb86c6e64cc6a11 (patch)
treea4745e74da7f5ffc4b359ae5a8cb67aec9c770c9 /www/functions/func_rewrite.php
parentf1840d40760abb9869bd218ca510eceb94f86478 (diff)
downloadfiles.iamfabulous.de-e009b1e84dcbcc83f39652695eb86c6e64cc6a11.tar.gz
Now conform to HTTP/1.1. Also integrated func_download.
Diffstat (limited to 'www/functions/func_rewrite.php')
-rwxr-xr-xwww/functions/func_rewrite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_rewrite.php b/www/functions/func_rewrite.php
index a58c7f9..d9f694d 100755
--- a/www/functions/func_rewrite.php
+++ b/www/functions/func_rewrite.php
@@ -16,7 +16,7 @@ function rewrite($db){
}
if($_SESSION["login"]){
- header("Refresh: 0; /" . $_SESSION['username'] . "/" . $_GET["name"] . "/" . $folder . "");
+ header("Refresh: 0; ".$scheme.$_SERVER["HTTP_HOST"]."/" . $_SESSION['username'] . "/" . $_GET["name"] . "/" . $folder . "");
}
return false;