diff --git a/src/Application.php b/src/Application.php index 22858934..77640cce 100644 --- a/src/Application.php +++ b/src/Application.php @@ -43,10 +43,6 @@ class Application extends ApplicationBase public function __destruct() { - if ($this->hasConfig) { - $this->config->save(); - } - ExceptionHandler::unregister(); } diff --git a/src/Config/ConfigManager.php b/src/Config/ConfigManager.php index 459deb99..b6944f09 100644 --- a/src/Config/ConfigManager.php +++ b/src/Config/ConfigManager.php @@ -33,8 +33,6 @@ class ConfigManager if (File::exists($this->filename)) { $this->load(); - } else { - $this->save(); } }