You are here

function mailhandler_init in Mailhandler 7.2

Implements hook_init().

File

./mailhandler.module, line 13
Retrieves email for posting as nodes and comments.

Code

function mailhandler_init() {
  if (strstr(request_uri(), 'system/ajax') && $_POST['form_id'] == 'ctools_export_ui_edit_item_form') {
    ctools_include('export');
  }
}