From 110f90567dc46fdbe234f836e0e8cae3a4ccf984 Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Tue, 1 Dec 2020 14:09:53 +0800 Subject: [PATCH] * Fix framework. --- framework/router.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/router.class.php b/framework/router.class.php index 4ea55617f0..9521cfbfe3 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -176,7 +176,7 @@ class router extends baseRouter $config->URAndSR = $URAndSR; $config->URSRName = $URSRName; - if($this->dbh and !empty($this->config->db->name)) + if($this->dbh and !empty($this->config->db->name) and !IN_UPGRADE) { /* Get story concept in project and product. */ $URLists = $this->dbh->query('SELECT `key`, `value` FROM' . TABLE_LANG . "WHERE module = 'custom' and section = 'URList' and lang = \"{$this->clientLang}\"")->fetchAll();