You are here

constant DRUPAL_ROOT in Production check & Production monitor 7

Same name and namespace in other branches
  1. 6 prod_check.dbconnect.php \DRUPAL_ROOT

Do the actual database connection check.

4 uses of DRUPAL_ROOT
prod_check.dbconnect.php in ./prod_check.dbconnect.php
Simple database connection check that can be placed anywhere within a Drupal installation. Does NOT need to be in the root where index.php resides!
prod_check_dbstatus in includes/prod_check.admin.inc
Database status page.
_prod_check_missing_module_files in ./prod_check.module
_prod_check_release_notes in ./prod_check.module

File

./prod_check.dbconnect.php, line 76
Simple database connection check that can be placed anywhere within a Drupal installation. Does NOT need to be in the root where index.php resides!

Code

define('DRUPAL_ROOT', locate_root());