You are here

function cleanpager_boot in Clean Pagination 7

Implements hook_boot().

File

./cleanpager.module, line 90

Code

function cleanpager_boot() {
  global $language_url, $language;
  if (!isset($GLOBALS['language'])) {
    $default = language_default();
    foreach (language_types() as $type) {
      $GLOBALS[$type] = $default;
    }
  }
  require_once 'includes/path.inc';
  require_once 'includes/common.inc';
  cleanpager_check_match();
}