improve install & update

This commit is contained in:
xiaomlove
2021-06-05 17:04:53 +08:00
parent b8e82e4bae
commit ac15e23f2e
5 changed files with 5 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ if (!$update->canAccessStep($currentStep)) {
$update->gotoStep(1);
}
$error = $copy = '';
$pass = true;
//step 1
if ($currentStep == 1) {
@@ -67,7 +68,6 @@ if ($currentStep == 2) {
}
if ($currentStep == 3) {
$pass = true;
$createTables = $update->listAllTableCreate();
$existsTables = $update->listExistsTable();
$tableRows = [];