constant DRUPAL_ROOT

Same name in this branch
  1. 7.x drupal-7.x/install.php \DRUPAL_ROOT
  2. 7.x drupal-7.x/update.php \DRUPAL_ROOT
  3. 7.x drupal-7.x/cron.php \DRUPAL_ROOT
  4. 7.x drupal-7.x/xmlrpc.php \DRUPAL_ROOT
  5. 7.x drupal-7.x/authorize.php \DRUPAL_ROOT
  6. 7.x drupal-7.x/index.php \DRUPAL_ROOT
  7. 7.x drupal-7.x/modules/simpletest/tests/http.php \DRUPAL_ROOT
  8. 7.x drupal-7.x/modules/simpletest/tests/https.php \DRUPAL_ROOT

Root directory of Drupal installation.

Archivo

drupal-7.x/index.php, line 17
The PHP page that serves all page requests on a Drupal installation.

Código

define('DRUPAL_ROOT', getcwd())