constant DRUPAL_ROOT in Secure Site 7.2
Path to your Drupal installation. We need this so that we can reuse some Drupal code.
5 uses of DRUPAL_ROOT
- digest_md5.php in digest_md5/
digest_md5.php - This script implements the DIGEST-MD5 mechanism for all protocols. Only the root user should have access to this script and the database used to store passwords and nonce values.
- stored_passwords.php in digest_md5/
stored_passwords.php - This script manages stored passwords. Only the root user should have access to this script and the database used to store passwords.
- _securesite_copy_script_config in ./
securesite.test - Copy script configuration from live site to test site.
- _securesite_mechanism in ./
securesite.module - Return the authentication method used by the client, or FALSE if the client did not send credentials.
- _securesite_plain_auth in ./
securesite.inc - Perform plain authentication.
File
- digest_md5/
digest_md5.conf.php, line 14 - Configuration for digest authentication. Only the root user should have access to this file.
Code
define('DRUPAL_ROOT', dirname('.'));