From 75145f36fa09b906f685ab5e040aa03c6f46d858 Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 30 May 2024 16:25:58 +0800 Subject: [PATCH] + install: clear dao cache after installing. --- module/install/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/install/control.php b/module/install/control.php index 655ee62480..96d2152bf4 100644 --- a/module/install/control.php +++ b/module/install/control.php @@ -385,6 +385,8 @@ class install extends control $this->install->importBIData(); + $this->dao->clearCache(); + $skipApp = (string)getenv('ZT_SKIP_DEVOPS_INIT'); $link = ($this->config->inQuickon && (!$skipApp || $skipApp == 'false')) ? inlink('app') : inlink('step6'); return $this->send(array('result' => 'success', 'load' => $link));