* fix for check one clicke package.

This commit is contained in:
z
2020-11-30 15:22:33 +08:00
parent ca26bfbfec
commit f19b03ede0
+1 -1
View File
@@ -90,7 +90,7 @@ if(empty($config->notMd5Pwd))js::import($jsRoot . 'md5.js');
</div>
</main>
<?php
if(strpos('/zentao/|/pro/|/biz/', $this->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']);