fix config example, undefined variable d
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@647 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
3003e642fb
commit
88bc4b2d67
|
@ -25,7 +25,8 @@ $enable_eval = false;
|
|||
function ob_filter_path_nicer($o)
|
||||
{
|
||||
$sep = DIRECTORY_SEPARATOR;
|
||||
$o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}" . (substr($d, -1) == $sep ? $sep : ""), $o);
|
||||
$d = $_SERVER['DOCUMENT_ROOT'];
|
||||
$o = str_replace($d, "{DOCROOT}" . (substr($d, -1) == $sep ? $sep : ""), $o);
|
||||
$xcachedir = realpath(dirname(__FILE__) . "$sep..$sep");
|
||||
$o = str_replace($xcachedir . $sep, "{XCache}$sep", $o);
|
||||
if ($sep == '/') {
|
||||
|
|
Loading…
Reference in New Issue