if (variable_get('dev_timer', 0)) {
timer_start();
}
- bootstrap_invoke_all('init');
if (variable_get('cache', 0)) {
if ($cache = page_get_cache()) {
-
+ bootstrap_invoke_all('init');
// Set default values:
$date = gmdate('D, d M Y H:i:s', $cache->created) .' GMT';
$etag = '"'. md5($date) .'"';
/**
* Initialize all modules.
*
- * To change the required set of modules, change this function as well as
- * system_listing() and module_list().
*/
function module_init() {
module_load_all();
+ module_invoke_all('init');
}
/**