Changeset 623 for branches/1.3/admin/config.php.example
- Timestamp:
- 2009-07-05T10:41:16+02:00 (4 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
admin/config.php.example (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/admin/config.php.example
r604 r623 12 12 $show_todo_strings = false; 13 13 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 14 19 // this function is detected by xcache.tpl.php, and enabled if function_exists 15 20 // this ob filter is applied for the cache list, not the whole page … … 17 22 { 18 23 $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); 20 25 $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep"); 21 26 $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o);
Note: See TracChangeset
for help on using the changeset viewer.

