diff options
| author | root | 2014-03-26 03:07:06 +0100 |
|---|---|---|
| committer | root | 2014-03-26 03:07:06 +0100 |
| commit | e009b1e84dcbcc83f39652695eb86c6e64cc6a11 (patch) | |
| tree | a4745e74da7f5ffc4b359ae5a8cb67aec9c770c9 /www/functions/func_rewrite.php | |
| parent | f1840d40760abb9869bd218ca510eceb94f86478 (diff) | |
| download | files.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-x | www/functions/func_rewrite.php | 2 |
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; |
