Changeset 647 for trunk


Ignore:
Timestamp:
2009-07-08T19:50:26+02:00 (5 years ago)
Author:
moo
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.