From ab158d82f05b9955d156abd83272a84e433cc65d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 13 Jun 2009 19:28:57 +0000 Subject: - Patch #221399 by smk-ka, jeffschuler, lilou, earnie et al: make it possible to enable blocks on 404 pages. --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') 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); } -- cgit v1.2.3