mochi / egeoip

Erlang IP Geolocation module, currently supporting the MaxMind GeoLite City Database.
Other
95 stars 57 forks source link

Use proper way of finding priv directory #15

Open richcarl opened 7 years ago

richcarl commented 7 years ago

The old code breaks if the code:which() directory and the application priv directories aren't under the same parent directory.