* [misc] Add comments.
This commit is contained in:
@@ -153,7 +153,7 @@ class router extends baseRouter
|
||||
}
|
||||
}
|
||||
|
||||
if($this->config->edition != 'open') $this->mergeFlowLang();
|
||||
if($moduleName == 'common' && $this->config->edition != 'open') $this->mergeFlowLang();
|
||||
|
||||
/* Merge from the db lang. */
|
||||
if($moduleName != 'common' and isset($lang->db->custom[$moduleName]))
|
||||
@@ -219,6 +219,8 @@ class router extends baseRouter
|
||||
{
|
||||
if(!$this->checkInstalled() || !$this->isServing()) return;
|
||||
|
||||
/* 12版本升级到付费版时,workflow表不存在。 */
|
||||
/* When upgrading from version 12 to the paid version, the workflow table does not exist. */
|
||||
try
|
||||
{
|
||||
$flows = $this->dbQuery('SELECT * FROM ' . TABLE_WORKFLOW . " WHERE `buildin` = 0 AND `vision` = '{$this->config->vision}' AND status = 'normal' AND type = 'flow' AND `navigator` = 'primary'")->fetchAll();
|
||||
|
||||
Reference in New Issue
Block a user