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 93551aa..d2290c3 100755
--- a/www/setup.php
+++ b/www/setup.php
@@ -64,9 +64,9 @@ if($bool){
$_SESSION["username"] = "admin";
$_SESSION["userid"] = 1;
+ header("Refresh: 2; ".$scheme.$_SERVER["HTTP_HOST"]."/admin");
echo "Success! You will redirected any moment.";
include("include.php");
- header("Refresh: 2; ".$scheme.$_SERVER["HTTP_HOST"]."/admin");
} else {
echo "Failure! :( <br>";
echo "Your password: ".$hash_password;