aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-27 15:20:32 -0300
committerRenato Botelho <renato@netgate.com>2015-07-27 15:20:32 -0300
commitf405fcb345686c536b7ac78bdfbe9d93e6aa3a47 (patch)
treee1ac6f57589b6741a103c4005b609ce9ae4aa6a6 /config
parent95daa898f2f96e81eb6f912c0d84f62c8e98f306 (diff)
parentcaef9ffdfba49ea2a0df47dd6022b94d4b593a56 (diff)
downloadpfsense-packages-f405fcb345686c536b7ac78bdfbe9d93e6aa3a47.tar.gz
pfsense-packages-f405fcb345686c536b7ac78bdfbe9d93e6aa3a47.tar.bz2
pfsense-packages-f405fcb345686c536b7ac78bdfbe9d93e6aa3a47.zip
Merge pull request #908 from doktornotor/patch-2
Diffstat (limited to 'config')
-rw-r--r--config/ntopng/ntopng.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml
index 055f54c0..dcb3f2b7 100644
--- a/config/ntopng/ntopng.xml
+++ b/config/ntopng/ntopng.xml
@@ -284,6 +284,8 @@
$source_dir = "/usr/local/share/ntopng";
}
+ safe_mkdir($target_dir, 0755);
+
foreach(glob("{$source_dir}/Geo*.dat*") as $geofile) {
/* Decompress if needed. */
if (substr($geofile, -3, 3) == ".gz") {