* Move code.

This commit is contained in:
sunguangming
2023-07-12 08:47:32 +08:00
parent fd14d5c343
commit e20061c1cd
+2 -1
View File
@@ -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();