* change for upgrade.
This commit is contained in:
@@ -94,3 +94,4 @@ $lang->upgrade->fromVersions['7_1'] = '7.1';
|
||||
$lang->upgrade->fromVersions['7_2'] = '7.2';
|
||||
$lang->upgrade->fromVersions['7_2_4'] = '7.2.4';
|
||||
$lang->upgrade->fromVersions['7_2_5'] = '7.2.5';
|
||||
$lang->upgrade->fromVersions['7_3'] = '7.3';
|
||||
|
||||
@@ -94,3 +94,4 @@ $lang->upgrade->fromVersions['7_1'] = '7.1';
|
||||
$lang->upgrade->fromVersions['7_2'] = '7.2';
|
||||
$lang->upgrade->fromVersions['7_2_4'] = '7.2.4';
|
||||
$lang->upgrade->fromVersions['7_2_5'] = '7.2.5';
|
||||
$lang->upgrade->fromVersions['7_3'] = '7.3';
|
||||
|
||||
@@ -125,6 +125,8 @@ class upgradeModel extends model
|
||||
$this->execSQL($this->getUpgradeFile('7.2.4'));
|
||||
case '7_2_5':
|
||||
$this->adjustOrder7_3();
|
||||
case '7_3':
|
||||
$this->execSQL($this->getUpgradeFile('7.3'));
|
||||
|
||||
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
|
||||
}
|
||||
@@ -194,6 +196,7 @@ class upgradeModel extends model
|
||||
case '7_1': $confirmContent .= file_get_contents($this->getUpgradeFile('7.1'));
|
||||
case '7_2':
|
||||
case '7_2_4': $confirmContent .= file_get_contents($this->getUpgradeFile('7.2.4'));
|
||||
case '7_3': $confirmContent .= file_get_contents($this->getUpgradeFile('7.3'));
|
||||
}
|
||||
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user