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

Don't remain on screen

parent 2c448135
No related branches found
No related tags found
No related merge requests found
......@@ -65,16 +65,6 @@ if (isset($_POST['installconfirmsubmit'])) {
fwrite($pending_installs, "install_".$app_name.",".$install_domain.",".$freedns_code."\n");
fclose($pending_installs);
$output_filename = "index.html";
# remain on this 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");
}
}
else {
// The app is already scheduled for installation
......
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