From f39532aabab6c9a257ce22f0711401c83a0db64f Mon Sep 17 00:00:00 2001 From: zhangjialiang Date: Thu, 6 Nov 2025 03:29:17 +0000 Subject: [PATCH 1/2] IPD version prompt for successful optimization installation --- module/install/control.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/module/install/control.php b/module/install/control.php index 176ce18232..0a4035ec81 100644 --- a/module/install/control.php +++ b/module/install/control.php @@ -420,16 +420,12 @@ class install extends control if($this->config->inQuickon) { - $editionName = $this->config->edition === 'open' ? $this->lang->pmsName : $this->lang->{$this->config->edition . 'Name'}; $this->lang->install->successLabel = str_replace('IPD', '', $this->lang->install->successLabel); $this->lang->install->successNoticeLabel = str_replace('IPD', '', $this->lang->install->successNoticeLabel); - $this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version); - } - elseif($this->config->edition != 'ipd') - { - $editionName = $this->config->edition === 'open' ? $this->lang->pmsName : $this->lang->{$this->config->edition . 'Name'}; - $this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version); - } + } + + $editionName = $this->config->edition === 'open' ? $this->lang->pmsName : $this->lang->{$this->config->edition . 'Name'}; + $this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version); $canDelFile = is_writable($this->app->getAppRoot() . 'www'); $installFile = $this->app->getAppRoot() . 'www/install.php'; From 1ff28974b0f9261982c5c06ab360192f4a3614ba Mon Sep 17 00:00:00 2001 From: zhangjialiang Date: Thu, 6 Nov 2025 03:30:56 +0000 Subject: [PATCH 2/2] IPD version prompt for successful optimization installation --- module/install/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/install/control.php b/module/install/control.php index 0a4035ec81..f20a74ee68 100644 --- a/module/install/control.php +++ b/module/install/control.php @@ -422,7 +422,7 @@ class install extends control { $this->lang->install->successLabel = str_replace('IPD', '', $this->lang->install->successLabel); $this->lang->install->successNoticeLabel = str_replace('IPD', '', $this->lang->install->successNoticeLabel); - } + } $editionName = $this->config->edition === 'open' ? $this->lang->pmsName : $this->lang->{$this->config->edition . 'Name'}; $this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version);