diff --git a/src/utils/Config.php b/src/utils/Config.php index 223f2ea36..748cd8848 100644 --- a/src/utils/Config.php +++ b/src/utils/Config.php @@ -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; @@ -238,4 +243,4 @@ class Config{ } } -} \ No newline at end of file +}