DRUPAL_ROOT

Same name in this branch
  1. 7.x cron.php \DRUPAL_ROOT
  2. 7.x xmlrpc.php \DRUPAL_ROOT
  3. 7.x authorize.php \DRUPAL_ROOT
  4. 7.x update.php \DRUPAL_ROOT
  5. 7.x modules/simpletest/tests/http.php \DRUPAL_ROOT
  6. 7.x modules/simpletest/tests/https.php \DRUPAL_ROOT
  7. 7.x modules/statistics/statistics.php \DRUPAL_ROOT
  8. 7.x install.php \DRUPAL_ROOT
Same name in other branches
  1. 9 core/includes/bootstrap.inc \DRUPAL_ROOT
  2. 8.9.x core/includes/bootstrap.inc \DRUPAL_ROOT
  3. 10 core/includes/bootstrap.inc \DRUPAL_ROOT
  4. 11.x core/includes/bootstrap.inc \DRUPAL_ROOT

Root directory of Drupal installation.

169 uses of DRUPAL_ROOT
aggregator_test_feed in modules/aggregator/tests/aggregator_test.module
Page callback. Generates a test feed and simulates last-modified and etags.
authorize.php in ./authorize.php
Administrative script for running authorized file operations.
authorize_get_filetransfer in includes/authorize.inc
Gets a FileTransfer class for a specific transfer method and settings.
authorize_run_operation in includes/authorize.inc
Runs the operation specified in $_SESSION['authorize_operation'].
BatchPercentagesUnitTestCase::setUp in modules/simpletest/tests/batch.test
Sets up unit test environment.

... See full list

File

./index.php, line 17

Code

define('DRUPAL_ROOT', getcwd());

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.