You are here

function staticmap_init in Static Map 7

Implements hook_init().

File

./staticmap.module, line 11
SiteMap module.

Code

function staticmap_init() {

  // See http://drupal.org/node/1142812
  if (strstr(request_uri(), 'system/ajax') && $_POST['form_id'] == 'ctools_export_ui_edit_item_form') {
    ctools_include('export');
  }
}