diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-13 19:28:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-13 19:28:57 +0000 |
commit | ab158d82f05b9955d156abd83272a84e433cc65d (patch) | |
tree | d11169ffc65460a6dbf7dc8899adb57eeeafe02b /includes | |
parent | f696a0ca4ad444f3cccc738da799b277f6737bde (diff) | |
download | brdo-ab158d82f05b9955d156abd83272a84e433cc65d.tar.gz brdo-ab158d82f05b9955d156abd83272a84e433cc65d.tar.bz2 |
- Patch #221399 by smk-ka, jeffschuler, lilou, earnie et al: make it possible to enable blocks on 404 pages.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index e1e2053d6..3ace4c637 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -378,8 +378,8 @@ function drupal_not_found() { drupal_set_page_content($return); $page = element_info('page'); - // To conserve CPU and bandwidth, omit the blocks. - $page['#show_blocks'] = FALSE; + // Optionally omit the blocks to conserve CPU and bandwidth. + $page['#show_blocks'] = variable_get('site_404_blocks', FALSE); print drupal_render_page($page); } |