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