Maxmind-GeoIp
Maxmind-GeoIp copied to clipboard
Make the `.dat` file location configurable
When using the bundle, it would be nice to be able to configure the directory where the data file should be stored, especially, when you need to share the database between production releases but not the vendor.
Hi @greg0ire
I faced the same situation. It does not make sense put data file inside vendor folder. You should take a look on this forke https://github.com/IDCI-Consulting/Maxmind-GeoIp which provides this option.
maxmind_geoip:
data_file_path: "%kernel.root_dir%/../web/GeoIPCity.dat"
Hope this can be useful for you.
Cheers
Thanks! Why not make a P. R.?
ping @marcoshoya
Hi @greg0ire
I did not make a P.R. because this feature is already available on https://github.com/IDCI-Consulting/Maxmind-GeoIp
The forke looks more up-to-date than this one.
Oh ok I though you were the author of that, sorry. @idciconsulting : could you make a PR ?