* finish task #7519.

This commit is contained in:
z
2020-07-25 11:24:56 +08:00
parent deed071f8e
commit 39aa4b6b34
+7
View File
@@ -178,6 +178,13 @@ class router extends baseRouter
}
}
/* When module is custom then reset storyCommon. */
if($moduleName == 'custom')
{
global $config;
$lang->storyCommon = isset($this->config->storyCommonList[$this->clientLang][(int)$config->storyCommon]) ? $this->config->storyCommonList[$this->clientLang][(int)$config->storyCommon] : $this->config->storyCommonList['en'][(int)$config->storyCommon];
}
parent::loadLang($moduleName, $appName);
/* Merge from the db lang. */