Skip navigation
Help

_drupal_bootstrap_configuration

7 bootstrap.inc _drupal_bootstrap_configuration()

Bootstrap configuration: Setup script environment and load settings.php.

1 call to _drupal_bootstrap_configuration()

File

drupal/includes/bootstrap.inc, line 1985
Functions that need to be loaded on every Drupal request.

Code

function _drupal_bootstrap_configuration() {
  // Set the Drupal custom error handler.
  set_error_handler('_drupal_error_handler');
  set_exception_handler('_drupal_exception_handler');

  drupal_environment_initialize();
  // Start a page timer:
  timer_start('page');
  // Initialize the configuration, including variables from settings.php.
  drupal_settings_initialize();
}