You are here

function authcache_test_boot in Authenticated User Page Caching (Authcache) 7.2

Implements hook_boot().

File

tests/authcache_test.module, line 331
Mock module to aid in testing authcache.module.

Code

function authcache_test_boot() {
  if (variable_get('authcache_test_early_exit', FALSE)) {
    module_invoke_all('exit', 'http://example.com/redirect/to/landing-page');
    exit;
  }
}