constant DRUPAL_ROOT

Defines the root directory of the Drupal installation.

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

... See full list

File

drupal/update.php, line 6
Administrative page for handling updates from one Drupal version to another.

Code

define('DRUPAL_ROOT', getcwd());