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

Don't change output filename

parent 8c7adec9
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ if (isset($_POST['setupconfirmsubmit'])) {
exec('cp setup_installing.html index.html');
# remain on index screen
$output_filename = "index.html";
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
if (endsWith($uri, 'admin')) {
......
......@@ -20,7 +20,6 @@ if (isset($_POST['setupdomain'])) {
exec('cp setup_installing.html index.html');
# remain on index screen
$output_filename = "index.html";
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
if (endsWith($uri, 'admin')) {
......@@ -30,9 +29,7 @@ if (isset($_POST['setupdomain'])) {
header("Location: http://$host$uri/admin/index.html");
}
}
else {
$output_filename = "setup_installing.html";
}
$output_filename = "setup_installing.html";
}
$htmlfile = fopen("$output_filename", "r") or die("Unable to open $output_filename");
......
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