You are here

constant DRUPAL_ROOT in JS Callback Handler 7.2

Same name and namespace in other branches
  1. 7 js.php \DRUPAL_ROOT

Root directory of Drupal installation.

6 uses of DRUPAL_ROOT
js.php in ./js.php
An optimized page execution used to serve JavaScript AJAX requests using a minimally bootstrapped Drupal installation.
js_install in ./js.install
Implements hook_install().
js_uninstall in ./js.install
Implements hook_uninstall().
_js_error_handler in ./js.module
Provides custom PHP error handling.
_js_exception_handler in ./js.module
Provides custom PHP exception handling.

... See full list

File

./js.php, line 12
An optimized page execution used to serve JavaScript AJAX requests using a minimally bootstrapped Drupal installation.

Code

define('DRUPAL_ROOT', getcwd());