* adjust for php8.

This commit is contained in:
王怡栋
2021-08-26 09:44:37 +08:00
parent a46623e25b
commit abe86c3128
+1 -2
View File
@@ -159,12 +159,11 @@ class router extends baseRouter
if(!defined('STORYPOINT_KEY')) define('STORYPOINT_KEY', 1);
if(!defined('FUNCTIONPOINT_KEY')) define('FUNCTIONPOINT_KEY', 2);
global $lang, $app;
global $lang, $app, $config;
$sprintConcept = $hourPoint = false;
/* Get config from DB. */
if($this->dbh and !empty($this->config->db->name))
{
global $config;
if(!isset($config->global)) $config->global = new stdclass();
$config->global->flow = 'full';