* change for upgrade.

This commit is contained in:
wangyidong
2017-05-16 14:27:53 +08:00
parent f0e76ff576
commit 12c288a4e7
46 changed files with 668 additions and 128 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class router extends baseRouter
global $config;
if(!isset($config->global)) $config->global = new stdclass();
$flow = $this->dbh->query('SELECT value FROM' . TABLE_CONFIG . "WHERE `owner`='system' AND `module`='common' AND `key`='flow'")->fetch();
if($flow) $config->global->flow = $flow->value;
$config->global->flow = $flow ? $flow->value : 'full';
try
{