Don't rewrite config on each request. (why)
This commit is contained in:
parent
27f5836e07
commit
fdbff3670c
2 changed files with 0 additions and 6 deletions
|
@ -43,10 +43,6 @@ class Application extends ApplicationBase
|
|||
|
||||
public function __destruct()
|
||||
{
|
||||
if ($this->hasConfig) {
|
||||
$this->config->save();
|
||||
}
|
||||
|
||||
ExceptionHandler::unregister();
|
||||
}
|
||||
|
||||
|
|
|
@ -33,8 +33,6 @@ class ConfigManager
|
|||
|
||||
if (File::exists($this->filename)) {
|
||||
$this->load();
|
||||
} else {
|
||||
$this->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue