diff options
-rw-r--r-- | config/ntopng/ntopng.xml | 2 |
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") { |