From e009b1e84dcbcc83f39652695eb86c6e64cc6a11 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Mar 2014 03:07:06 +0100 Subject: Now conform to HTTP/1.1. Also integrated func_download. --- www/functions/func_rewrite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/functions/func_rewrite.php') 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; -- cgit v1.2.3