*Modify version check.

This commit is contained in:
宋辰轩
2023-04-17 11:28:01 +08:00
parent 1074ac1970
commit 0e63bf94cb
+1 -1
View File
@@ -27,7 +27,7 @@ class screen extends control
/* BI guide. */
$lang = (strpos($this->app->getClientLang(), 'zh') !== false) ? 'zh' : 'en';
$version = !($this->config->edition == 'biz' or $this->config->edition == 'max') ? 'biz' : 'pms';
$version = ($this->config->edition == 'biz' or $this->config->edition == 'max') ? 'biz' : 'pms';
$imageURL = "static/images/bi_guide_{$version}_{$lang}.png";
$currentUser = $this->app->user->account;