constant DRUPAL_ROOT in JS Callback Handler 7
Same name and namespace in other branches
- 7.2 js.php \DRUPAL_ROOT
3 uses of DRUPAL_ROOT
- js.php in ./
js.php - Callback page that serves custom JavaScript requests on a Drupal installation.
- js_install in ./
js.install - Implements hook_install().
- js_uninstall in ./
js.install - Implements hook_uninstall().
File
- ./
js.php, line 10 - Callback page that serves custom JavaScript requests on a Drupal installation.
Code
define('DRUPAL_ROOT', getcwd());