* [bug#63614] Fix duplicate ipd version names after installation.

This commit is contained in:
zhangjialiang
2025-06-26 18:41:02 +08:00
parent ee23be8845
commit b1ad3d22fe
+2 -2
View File
@@ -416,10 +416,10 @@ class install extends control
$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(strpos($this->config->version, 'ipd') === false)
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'), '', $this->config->version);
$this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version);
}
$canDelFile = is_writable($this->app->getAppRoot() . 'www');