Changeset 88bc4b2 in git


Ignore:
Timestamp:
2009-07-08T17:50:26Z (11 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
4dbfbd7
Parents:
3003e64
Message:

fix config example, undefined variable d

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@647 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/config.php.example

    r7e32e6c r88bc4b2  
    2626{
    2727    $sep = DIRECTORY_SEPARATOR;
    28     $o = str_replace($_SERVER['DOCUMENT_ROOT'],  "{DOCROOT}" . (substr($d, -1) == $sep ? $sep : ""), $o);
     28    $d = $_SERVER['DOCUMENT_ROOT'];
     29    $o = str_replace($d,  "{DOCROOT}" . (substr($d, -1) == $sep ? $sep : ""), $o);
    2930    $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep");
    3031    $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o);
Note: See TracChangeset for help on using the changeset viewer.