summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc4
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);
}