1. 8.2.x index.php
  2. 8.0.x index.php
  3. 8.1.x index.php
  4. 8.3.x index.php
  5. 4.6.x index.php
  6. 4.6.x developer/index.php
  7. 4.7.x index.php
  8. 4.7.x developer/index.php
  9. 5.x developer/index.php
  10. 5.x index.php
  11. 6.x developer/index.php
  12. 6.x index.php
  13. 7.x developer/index.php
  14. 7.x index.php

The PHP page that serves all page requests on a Drupal installation.

The routines here dispatch control to the appropriate handler, which then prints the appropriate page.

All Drupal code is released under the GNU General Public License. See COPYRIGHT.txt and LICENSE.txt.

File

index.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * The PHP page that serves all page requests on a Drupal installation.
  5. *
  6. * The routines here dispatch control to the appropriate handler, which then
  7. * prints the appropriate page.
  8. *
  9. * All Drupal code is released under the GNU General Public License.
  10. * See COPYRIGHT.txt and LICENSE.txt.
  11. */
  12. /**
  13. * Root directory of Drupal installation.
  14. */
  15. define('DRUPAL_ROOT', getcwd());
  16. require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
  17. drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  18. menu_execute_active_handler();

Constants

Namesort descending Description
DRUPAL_ROOT Root directory of Drupal installation.