mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#394 execute at updater cause of structure change
This commit is contained in:
parent
c0d39cb16b
commit
523f636542
@ -419,6 +419,19 @@ if (isset($include) and $include == true) {
|
||||
$query->execute();
|
||||
|
||||
|
||||
if (!isset($alreadyRepaired)) {
|
||||
|
||||
$alreadyRepaired = true;
|
||||
|
||||
$response->add('Adding tables if needed.');
|
||||
include(EASYWIDIR . '/stuff/methods/tables_add.php');
|
||||
|
||||
$response->add('Repairing tables if needed.');
|
||||
include(EASYWIDIR . '/stuff/methods/tables_repair.php');
|
||||
}
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
echo "Error: this file needs to be included by the updater!<br />";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user