Revert build.sql

Make update.php responsive
This commit is contained in:
f0o
2015-09-01 23:31:41 +01:00
parent 3f7c37a523
commit 2fd423f9fc
4 changed files with 16 additions and 447 deletions

View File

@@ -10,7 +10,6 @@ $stage = $_POST['stage'];
// Before we do anything, if we see config.php, redirect back to the homepage.
if(file_exists('../config.php') && $stage != "6") {
session_destroy();
header("Location: /");
exit;
}
@@ -76,6 +75,7 @@ elseif($stage == "4") {
}
}
elseif($stage == "6") {
session_destroy();
// If we get here then let's do some final checks.
if(!file_exists("../config.php")) {
// config.php file doesn't exist. go back to that stage