You are here

constant DRUPAL_ROOT in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 tests/update.php \DRUPAL_ROOT

Defines the root directory of the Drupal installation.

4 uses of DRUPAL_ROOT
SkinrUpdateScriptTest::testSkinrImplementsApi in tests/skinr.test
Tests access to the update script.
skinr_implements_api in ./skinr.module
Returns a list of extensions that implement this API version of Skinr.
skinr_load_plugins in ./skinr.module
Includes Skinr plugin files for an extension, if any.
update.php in tests/update.php
Simulates cache clearing while running update script.

File

tests/update.php, line 19
Simulates cache clearing while running update script.

Code

define('DRUPAL_ROOT', $_GET['drupal_root']);