From e20061c1cdd82b776a2a1efd82b9dbf4e00530bc Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 12 Jul 2023 08:47:32 +0800 Subject: [PATCH] * Move code. --- module/install/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/install/control.php b/module/install/control.php index 64b41a8a1c..eb739795c8 100644 --- a/module/install/control.php +++ b/module/install/control.php @@ -19,9 +19,10 @@ class install extends control */ public function __construct() { + parent::__construct(); + if(!$this->app->installing) helper::end(); - parent::__construct(); $this->app->loadLang('user'); $this->app->loadLang('admin'); $this->config->webRoot = getWebRoot();