From 7721e49a78de3150d1fd544b9638c8d62815400b Mon Sep 17 00:00:00 2001 From: WispX Date: Wed, 15 Jul 2020 11:39:21 +0800 Subject: [PATCH] :bug: Fixing a bug. --- application/index/controller/Install.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/index/controller/Install.php b/application/index/controller/Install.php index a7efb717..781eaad2 100644 --- a/application/index/controller/Install.php +++ b/application/index/controller/Install.php @@ -133,6 +133,9 @@ public function index($step = 1) } catch (Exception $e) { @unlink(app()->getAppPath() . 'install.lock'); $this->error($e->getMessage()); + } catch (\Exception $e) { + @unlink(app()->getAppPath() . 'install.lock'); + $this->error($e->getMessage()); } catch (\PDOException $e) { @unlink(app()->getAppPath() . 'install.lock'); $this->error($e->getMessage());