Changeset 240 for branches/1.0/coverager/config.php.example
- Timestamp:
- 10/11/2006 05:42:41 AM (2 years ago)
- Files:
-
- 1 modified
-
branches/1.0/coverager/config.php.example (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/coverager/config.php.example
r33 r240 13 13 function ob_filter_path_nicer($o) 14 14 { 15 $o = str_replace("/home/", "{H}/", $o); 15 $sep = DIRECTORY_SEPARATOR; 16 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}$sep", $o); 17 $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep"); 18 $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o); 19 if ($sep == '/') { 20 $o = str_replace("/home/", "{H}/", $o); 21 } 16 22 return $o; 17 23 }

