Skip to content
Snippets Groups Projects
Commit 9d529dd8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove header

parent 91b5bb90
No related branches found
No related tags found
No related merge requests found
......@@ -19,16 +19,6 @@ if (isset($_POST['setupconfirmsubmit'])) {
if(file_exists(".temp_setup.txt")) {
exec('mv .temp_setup.txt setup.txt');
exec('cp setup_installing.html index.html');
# remain on index screen
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
if (endsWith($uri, 'admin')) {
header("Location: http://$host$uri/index.html");
}
else {
header("Location: http://$host$uri/admin/index.html");
}
}
}
}
......
......@@ -18,16 +18,6 @@ if (isset($_POST['setupdomain'])) {
if(file_exists(".temp_setup.txt")) {
exec('mv .temp_setup.txt setup.txt');
exec('cp setup_installing.html index.html');
# remain on index screen
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
if (endsWith($uri, 'admin')) {
header("Location: http://$host$uri/index.html");
}
else {
header("Location: http://$host$uri/admin/index.html");
}
}
$output_filename = "setup_installing.html";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment