Changeset 42 for trunk/docs/example_config.inc.php
- Timestamp:
- Dec 18, 2005 12:16:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/example_config.inc.php
r41 r42 12 12 // To work around a PHP bug always include this config file with: require_once dirname(__FILE__) . '/_config.inc.php'; 13 13 if (!preg_match('!^(/|[A-Z]:)!', __FILE__)) { 14 14 trigger_error('_config.inc.php include must be specified with an absolute file path (eg: "require_once dirname(__FILE__) . \'/_config.inc.php\';"', E_USER_ERROR); 15 15 } 16 16 … … 19 19 define('COMMON_BASE', realpath(dirname(__FILE__) . '/../')); 20 20 21 // The DocRoot for this application. SITE_BASE is ifferent from $_SERVER['DOCUMENT_ROOT'] because the 21 // The DocRoot for this application. SITE_BASE is ifferent from $_SERVER['DOCUMENT_ROOT'] because the 22 22 // latter does not change when using the apache Alias directive or URL Rewriting to define a site. 23 23 define('SITE_BASE', dirname(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.