* Supports cross-version upgrade.

This commit is contained in:
tanghucheng
2023-07-19 13:40:46 +08:00
parent f4821a23f3
commit 76d968df0a
5 changed files with 201 additions and 12 deletions
-8
View File
@@ -96,14 +96,6 @@ class upgrade extends control
$this->config->version = ($this->config->edition == 'biz' ? 'LiteVIP' : 'Lite') . $this->config->liteVersion;
}
if($this->config->edition == 'ipd')
{
foreach($this->lang->upgrade->fromVersions as $key => $value)
{
if(strpos($key, 'ipd') === false) unset($this->lang->upgrade->fromVersions[$key]);
}
}
if($_POST) return print(js::locate(helper::createLink('upgrade', 'confirm', "fromVersion={$this->post->fromVersion}")));
$this->view->title = $this->lang->upgrade->common . $this->lang->colon . $this->lang->upgrade->selectVersion;