From 202df229b080f9be6a5895cd297cdccffe459b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Fri, 4 Mar 2022 09:42:19 +0800 Subject: [PATCH] * Code for force upgrade. --- framework/control.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/control.class.php b/framework/control.class.php index 5216952bc0..1630eb4e6c 100644 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -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') {