Changeset 2338 for temp/trunk
- Timestamp:
- 2006/08/28 16:31:56 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/module/DB.php (modified) (3 diffs)
-
html/install/templates/step3.tpl (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/module/DB.php
r2290 r2338 30 30 require_once 'PEAR.php'; 31 31 32 33 32 if(!defined('DB_PHP_DIR')) { 33 $DB_PHP_DIR = realpath(dirname( __FILE__)); 34 define("DB_PHP_DIR", $DB_PHP_DIR); 35 } 34 36 // {{{ constants 35 37 // {{{ error codes … … 454 456 if (isset($options['debug']) && $options['debug'] >= 2) { 455 457 // expose php errors with sufficient debug level 456 include_once "DB/{$type}.php";458 include_once DB_PHP_DIR . "/DB/{$type}.php"; 457 459 } else { 458 @include_once "DB/{$type}.php";460 @include_once DB_PHP_DIR . "/DB/{$type}.php"; 459 461 } 460 462 … … 532 534 if (isset($options['debug']) && $options['debug'] >= 2) { 533 535 // expose php errors with sufficient debug level 534 include_once "DB/${type}.php";536 include_once DB_PHP_DIR . "/DB/${type}.php"; 535 537 } else { 536 @include_once "DB/${type}.php";538 @include_once DB_PHP_DIR . "/DB/${type}.php"; 537 539 } 538 540
Note: See TracChangeset
for help on using the changeset viewer.
