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());