Utils\Config preserves document type between reloads. Fixes #2777

This commit is contained in:
Michael Yoo 2015-03-21 21:31:07 +10:30
parent 6bf30c133a
commit 91a26c15dd
No known key found for this signature in database
GPG Key ID: 409DBB63E3750CCD

View File

@ -83,8 +83,7 @@ class Config{
public function reload(){
$this->config = [];
$this->correct = false;
unset($this->type);
$this->load($this->file);
$this->load($this->file, $this->type);
}
/**