You are here

function geoip_menu in GeoIP API 7.2

Same name and namespace in other branches
  1. 5 geoip.module \geoip_menu()
  2. 6 geoip.module \geoip_menu()
  3. 7 geoip.module \geoip_menu()

Implements hook_menu().

File

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

Code

function geoip_menu() {
  $items['admin/config/system/geoip'] = array(
    'title' => 'GeoIP',
    'description' => 'Configure the path to the GeoIP database.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'geoip_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'geoip.admin.inc',
  );
  return $items;
}