function blocks404_preprocess_page in 404 Blocks 5
Renders the left and right regions and resets the body classes on 404 pages.
File
- ./
blocks404.module, line 44
Code
function blocks404_preprocess_page(&$vars, $hook) {
if (strpos(drupal_get_headers(), 'HTTP/1.1 404 Not Found') !== FALSE) {
module_load_include('inc', 'blocks404', 'blocks404.active');
_blocks404_preprocess_page($vars);
}
}