Changeset 172 for trunk/coverager/config.php.example
- Timestamp:
- 2006-09-17T03:56:36+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/coverager/config.php.example (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/coverager/config.php.example
r124 r172 21 21 function ob_filter_path_nicer($o) 22 22 { 23 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}/", $o); 24 $xcachedir = realpath(dirname(__FILE__) . "/../"); 25 $o = str_replace($xcachedir . "/", "{XCache}/", $o); 26 $o = str_replace("/home/", "{H}/", $o); 23 $sep = DIRECTORY_SEPARATOR; 24 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}$sep", $o); 25 $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep"); 26 $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o); 27 if ($sep == '/') { 28 $o = str_replace("/home/", "{H}/", $o); 29 } 27 30 return $o; 28 31 }
Note: See TracChangeset
for help on using the changeset viewer.

