* Code for force upgrade.

This commit is contained in:
孙广明
2022-03-04 09:42:19 +08:00
parent c5f19a1179
commit 202df229b0

View File

@@ -137,7 +137,7 @@ class control extends baseControl
{
$installedVersion = $this->loadModel('setting')->getVersion();
if(is_numeric($installedVersion[0]) and $this->config->edition == 'max')
if($installedVersion[0] != 'm' and $this->config->edition == 'max')
{
if($this->config->systemMode == 'classic' and $this->app->getModuleName() != 'upgrade')
{