function authcache_test_php_error in Authenticated User Page Caching (Authcache) 7.2
PHP Error.
1 string reference to 'authcache_test_php_error'
- authcache_test_menu in tests/
authcache_test.module - Implements hook_menu().
File
- tests/
authcache_test.module, line 255 - Mock module to aid in testing authcache.module.
Code
function authcache_test_php_error() {
list($message, $type) = variable_get('authcache_test_php_error');
drupal_add_http_header('Content-Type', 'text/html');
// @ignore security_trigger_error
trigger_error($message, $type);
drupal_exit();
}