summaryrefslogtreecommitdiff
path: root/www/setup.php
diff options
context:
space:
mode:
authorroot2014-03-26 03:07:06 +0100
committerroot2014-03-26 03:07:06 +0100
commite009b1e84dcbcc83f39652695eb86c6e64cc6a11 (patch)
treea4745e74da7f5ffc4b359ae5a8cb67aec9c770c9 /www/setup.php
parentf1840d40760abb9869bd218ca510eceb94f86478 (diff)
downloadfiles.iamfabulous.de-e009b1e84dcbcc83f39652695eb86c6e64cc6a11.tar.gz
Now conform to HTTP/1.1. Also integrated func_download.
Diffstat (limited to 'www/setup.php')
-rwxr-xr-xwww/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/setup.php b/www/setup.php
index 423e0f1..a841ad4 100755
--- a/www/setup.php
+++ b/www/setup.php
@@ -65,7 +65,7 @@ if($bool){
$_SESSION["userid"] = 1;
echo "Success! You will redirected any moment.";
- header("Refresh: 2; /admin");
+ header("Refresh: 2; ".$scheme.$_SERVER["HTTP_HOST"]."/admin");
} else {
echo "Failure! :( <br>";
echo "Your password: ".$hash_password;