Changeset 647 in svn


Ignore:
Timestamp:
2009-07-08T17:50:26Z (6 years ago)
Author:
Xuefer
Message:

fix config example, undefined variable d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/config.php.example

    r605 r647  
    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.