From 427604dfb645808958ffe71f0f7ccf8ca21ff9bb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Aug 2006 18:32:39 +0000 Subject: - Patch #80201: don't show blocks when serving a 404. Saves CPU and bandwidth. --- includes/common.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 82f7e4300..a8e6ab3de 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -338,7 +338,8 @@ function drupal_not_found() { if (empty($return)) { drupal_set_title(t('Page not found')); } - print theme('page', $return); + // To conserve CPU and bandwidth, omit the blocks + print theme('page', $return, FALSE); } /** -- cgit v1.2.3