_drupal_bootstrap_configuration

Versions
7
_drupal_bootstrap_configuration()

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

▾ 1 function calls _drupal_bootstrap_configuration()

drupal_bootstrap in includes/bootstrap.inc
A string describing a phase of Drupal to load. Each phase adds to the previous one, so invoking a later phase automatically runs the earlier phases too. The most important usage is that if you want to access the Drupal database from a script without...

Code

includes/bootstrap.inc, line 1552

<?php
function _drupal_bootstrap_configuration() {
  drupal_environment_initialize();
  // Start a page timer:
  timer_start('page');
  // Initialize the configuration, including variables from settings.php.
  drupal_settings_initialize();
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.