constant DRUPAL_ROOT in Advertisement 7.3
Same name and namespace in other branches
- 7 adserve.inc \DRUPAL_ROOT
1 use of DRUPAL_ROOT
- ad_serve.php in ./
ad_serve.php
File
- ./
ad_serve.php, line 19
Code
define('DRUPAL_ROOT', substr($_SERVER['SCRIPT_FILENAME'], 0, strpos($_SERVER['SCRIPT_FILENAME'], $_SERVER['REQUEST_URI'])));