diff options
| author | moehm | 2014-03-27 19:21:18 +0100 |
|---|---|---|
| committer | moehm | 2014-03-27 19:21:18 +0100 |
| commit | ed5dabd4df988f63d300fa4ed6cc388990b0fdfb (patch) | |
| tree | 950e9187234391550c784604a8cb659105000313 /www/functions/func_rewrite.php | |
| parent | 2310c2e3cb4cf9b724ef065fcb8543a60d0ff280 (diff) | |
| parent | a35197cefeb2dae3e3688eec5762824263d16f0c (diff) | |
| download | files.iamfabulous.de-ed5dabd4df988f63d300fa4ed6cc388990b0fdfb.tar.gz | |
Merge branch 'master' of git.iamfabulous.de:files.iamfabulous.de
Diffstat (limited to 'www/functions/func_rewrite.php')
| -rwxr-xr-x | www/functions/func_rewrite.php | 2 |
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; |
