Don't rewrite config on each request. (why)

This commit is contained in:
flash 2018-02-04 19:46:51 +01:00
parent 27f5836e07
commit fdbff3670c
2 changed files with 0 additions and 6 deletions

View file

@ -43,10 +43,6 @@ class Application extends ApplicationBase
public function __destruct()
{
if ($this->hasConfig) {
$this->config->save();
}
ExceptionHandler::unregister();
}

View file

@ -33,8 +33,6 @@ class ConfigManager
if (File::exists($this->filename)) {
$this->load();
} else {
$this->save();
}
}