Reload Bugfix

This commit is contained in:
Michael Yoo 2013-08-22 19:40:20 +09:30
parent 54f058de3e
commit 6dc33791a7

View File

@ -62,7 +62,11 @@ class Config{
public function reload()
{
$this->load($this->file, $this->type, array());
unset($this->config);
unset($this->correct);
unset($this->type);
$this->load($this->file);
$correct = $this->check();
}
public function load($file, $type = CONFIG_DETECT, $default = array()){