Ignore:
Timestamp:
2009-07-05T10:41:16+02:00 (5 years ago)
Author:
moo
Message:

merged r514-r539 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/admin/config.php.example

    r604 r623  
    1212$show_todo_strings = false; 
    1313 
     14// width of graph for free or usage blocks 
     15$usage_graph_width = 120; 
     16// do not define both with 
     17// $free_graph_width = 120; 
     18 
    1419// this function is detected by xcache.tpl.php, and enabled if function_exists 
    1520// this ob filter is applied for the cache list, not the whole page 
     
    1722{ 
    1823    $sep = DIRECTORY_SEPARATOR; 
    19     $o = str_replace($_SERVER['DOCUMENT_ROOT'],  "{DOCROOT}$sep", $o); 
     24    $o = str_replace($_SERVER['DOCUMENT_ROOT'],  "{DOCROOT}" . (substr($d, -1) == $sep ? $sep : ""), $o); 
    2025    $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep"); 
    2126    $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o); 
Note: See TracChangeset for help on using the changeset viewer.