summaryrefslogtreecommitdiff
path: root/www/functions/func_rewrite.php
diff options
context:
space:
mode:
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;