? .DS_Store ? modules/system/system.admin ? sites/.DS_Store ? sites/all/modules/devel ? sites/default/files ? sites/default/settings.php ? themes/.DS_Store Index: modules/block/block.module =================================================================== RCS file: /cvs/drupal/drupal/modules/block/block.module,v retrieving revision 1.432 diff -u -p -r1.432 block.module --- modules/block/block.module 28 Oct 2010 02:27:08 -0000 1.432 +++ modules/block/block.module 19 Nov 2010 03:06:26 -0000 @@ -302,6 +302,15 @@ function block_page_build(&$page) { ); } } + + // With the block module, it's possible to disable the main content block. + // By default, Drupal gets mad at us if we do that to protect users from + // completely locking themselves out of the site by disabling page-managing + // modules, but since this is a page-manging module, we're in charge of the + // main content, not system module. + $system_main_content_added = &drupal_static('system_main_content_added'); + $system_main_content_added = TRUE; + } /**