aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-16 14:45:22 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-16 14:45:22 +0200
commit9a51fcf39c54bc3d5a79ca229959e9b1d17daf29 (patch)
tree75b51888aa6a2cd74d68774d0a050424b3c6bda7
parent1233f9e1e4f35c0034352a148715ffd15387f760 (diff)
downloadpfsense-packages-9a51fcf39c54bc3d5a79ca229959e9b1d17daf29.tar.gz
pfsense-packages-9a51fcf39c54bc3d5a79ca229959e9b1d17daf29.tar.bz2
pfsense-packages-9a51fcf39c54bc3d5a79ca229959e9b1d17daf29.zip
Make $ntopng_config global in ntopng_sync_package()
Might fix the service restart after package reinstall.
-rw-r--r--config/ntopng/ntopng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ntopng/ntopng.inc b/config/ntopng/ntopng.inc
index 27b484c1..55553241 100644
--- a/config/ntopng/ntopng.inc
+++ b/config/ntopng/ntopng.inc
@@ -89,7 +89,7 @@ function ntopng_sync_package() {
return;
}
- global $g, $config, $pf_version;
+ global $g, $config, $pf_version, $ntopng_config;
$pf_version = substr(trim(file_get_contents("/etc/version")), 0, 3);
$ifaces = "";