You are here

function geoip_data_file in GeoIP API 7

Same name and namespace in other branches
  1. 6 geoip.module \geoip_data_file()

Return the path of the GeoIP.dat data file.

Return value

string

2 calls to geoip_data_file()
geoip_instance in ./geoip.module
Singleton wrapper around geoip_open().
geoip_requirements in ./geoip.module
Implements hook_requirements().
2 string references to 'geoip_data_file'
geoip_admin_settings in ./geoip.admin.inc
Menu callback and form builder for admin/settings/geoip.
geoip_update_6000 in ./geoip.install
We're changing the default path. If it's been working for them make sure it is set and not relying on the default value.

File

./geoip.module, line 126
API for using the MaxMind GeoLite Country database.

Code

function geoip_data_file() {
  return variable_get('geoip_data_file', 'sites/all/libraries/geoip/GeoIP.dat');
}