* [task#132242] add doc defaultPage control.

This commit is contained in:
dingyongliang
2024-12-23 13:48:28 +08:00
committed by 刘刚
parent 87eabad1dc
commit 6f0a215500
2 changed files with 45 additions and 1 deletions
+2 -1
View File
@@ -331,7 +331,7 @@ class router extends baseRouter
{
$sql = new sql();
$account = $sql->quote($account);
$userSetting = $this->dbQuery('SELECT `key`, `value` FROM ' . TABLE_CONFIG . " WHERE `owner`= $account AND `module`='common' and `key` in ('programLink', 'productLink', 'projectLink', 'executionLink', 'URSR')")->fetchAll();
$userSetting = $this->dbQuery('SELECT `key`, `value` FROM ' . TABLE_CONFIG . " WHERE `owner`= $account AND `module`='common' and `key` in ('programLink', 'productLink', 'projectLink', 'executionLink', 'URSR', 'docLink')")->fetchAll();
}
foreach($userSetting as $setting)
@@ -341,6 +341,7 @@ class router extends baseRouter
if($setting->key == 'productLink') $config->productLink = $setting->value;
if($setting->key == 'projectLink') $config->projectLink = $setting->value;
if($setting->key == 'executionLink') $config->executionLink = $setting->value;
if($setting->key == 'docLink') $config->docLink = $setting->value;
}
$lang->ERCommon = $config->storyCommonList[$this->clientLang]['epic'];