You are here

function devel_start in Devel 6

1 call to devel_start()
devel_boot in ./devel.module
Implementation of hook_boot(). Runs even for cached pages.

File

./devel.module, line 459

Code

function devel_start() {
  if (variable_get('dev_mem', 0) && function_exists('memory_get_usage')) {
    global $memory_init;
    $memory_init = memory_get_usage();
  }

  // we need user_access() in the shutdown function. make sure it gets loaded
  drupal_load('module', 'user');
  register_shutdown_function('devel_shutdown');
}