diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-23 18:32:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-23 18:32:39 +0000 |
commit | 427604dfb645808958ffe71f0f7ccf8ca21ff9bb (patch) | |
tree | 29ebe9bc0ae5c57b1b30ef90d5f63c5cb37e711a /includes/common.inc | |
parent | 689a61f199c604dcabd0434c4d8e68d5f5148425 (diff) | |
download | brdo-427604dfb645808958ffe71f0f7ccf8ca21ff9bb.tar.gz brdo-427604dfb645808958ffe71f0f7ccf8ca21ff9bb.tar.bz2 |
- Patch #80201: don't show blocks when serving a 404. Saves CPU and bandwidth.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 3 |
1 files changed, 2 insertions, 1 deletions
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); } /** |