Ignore:
Timestamp:
2006-10-11T07:42:41+02:00 (8 years ago)
Author:
moo
Message:

trunk->1.0: merged coverager

  • [184] fix tplcov
  • [176] leaked by outfilename (efree by zend_mm tho)
  • [175] remove double Content-Language
  • [174] avoid double slash
  • [173] make dir ended with dir sep
  • [172] DIRECTORY_SEPARATOR for coverager config example
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/coverager/config.php.example

    r33 r240  
    1313function ob_filter_path_nicer($o) 
    1414{ 
    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    } 
    1622    return $o; 
    1723} 
Note: See TracChangeset for help on using the changeset viewer.