mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
fix forceReload() closes https://github.com/opnsense/core/issues/3801
This commit is contained in:
parent
01b74e60b1
commit
d547bc48bc
@ -308,6 +308,10 @@ class Config extends Singleton
|
||||
*/
|
||||
public function forceReload()
|
||||
{
|
||||
if ($this->config_file_handle !== null) {
|
||||
fclose($this->config_file_handle);
|
||||
$this->config_file_handle = null;
|
||||
}
|
||||
$this->init();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user