Commit 05b1a10d authored by Ad Schellevis's avatar Ad Schellevis

issue with CP reload, removed soft reload, may need some work

parent c112ad8a
...@@ -218,11 +218,11 @@ function captiveportal_init_rules($reinit = false) { ...@@ -218,11 +218,11 @@ function captiveportal_init_rules($reinit = false) {
captiveportal_load_modules(); captiveportal_load_modules();
// //
if ( $reinit ) { // if ( $reinit ) {
$cpc = new OPNsense\CaptivePortal\CPClient(); $cpc = new OPNsense\CaptivePortal\CPClient();
$cpc->reconfigure(); $cpc->reconfigure();
unset($cpc); unset($cpc);
} // }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment