Merge pull request #2794 from sekjun9878/master

Utils\Config preserves document type between reloads. Fixes #2777
This commit is contained in:
Shoghi Cervantes
2015-03-21 15:03:05 +01:00

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);
}
/**