From f19b03ede0d576af0b7f78256aaa66ad69b93004 Mon Sep 17 00:00:00 2001 From: z Date: Mon, 30 Nov 2020 15:22:33 +0800 Subject: [PATCH] * fix for check one clicke package. --- module/user/view/login.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/view/login.html.php b/module/user/view/login.html.php index e18acaea76..099833225e 100644 --- a/module/user/view/login.html.php +++ b/module/user/view/login.html.php @@ -90,7 +90,7 @@ if(empty($config->notMd5Pwd))js::import($jsRoot . 'md5.js'); config->webRoot) !== false) +if(strpos('|/zentao/|/pro/|/biz/|', "|{$this->config->webRoot}|") !== false) { $databases = array('zentao' => 'zentao', 'zentaopro' => 'zentaopro', 'zentaobiz' => 'zentaobiz', 'zentaoep' => 'zentaoep'); if($this->config->webRoot == '/zentao/') unset($databases['zentao']);