You are here

background_process.pages.inc in Background Process 6

@TODO is this file neccessary?

File

background_process.pages.inc
View source
<?php

/**
 * @file
 * @TODO is this file neccessary?
 */

/**
 * Callback for token validation.
 */
function background_process_check_token($encode_detector = '') {
  drupal_set_header("Content-type: text/plain");
  $data = array();
  $data['token'] = variable_get('background_process_token', '');
  $data['encode_detector'] = $encode_detector;
  print serialize($data);
  exit;
}

Functions

Namesort descending Description
background_process_check_token Callback for token validation.