You are here

constant DRUPAL_ROOT in Production check & Production monitor 6

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

Do the actual database connection check.

1 use 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!

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());