index.php

  1. drupal
    1. 4.6 developer/index.php
    2. 4.6 index.php
    3. 4.7 index.php
    4. 4.7 developer/index.php
    5. 5 index.php
    6. 5 developer/index.php
    7. 6 developer/index.php
    8. 6 index.php
    9. 7 index.php
    10. 7 developer/index.php
    11. 8 index.php
    12. 8 developer/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.

Constants

NameDescription
DRUPAL_ROOTRoot directory of Drupal installation.

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();
Login or register to post comments