Config Reload

This commit is contained in:
Michael Yoo 2013-08-22 19:30:27 +09:30
parent dfd451f620
commit 54f058de3e

View File

@ -60,6 +60,11 @@ class Config{
$correct = $this->check();
}
public function reload()
{
$this->load($this->file, $this->type, array());
}
public function load($file, $type = CONFIG_DETECT, $default = array()){
$this->correct = true;
$this->type = (int) $type;