Changeset d6dfcc1 in git


Ignore:
Timestamp:
2006-09-13T11:52:38Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.0
Children:
cd7988d
Parents:
430bccf
Message:

use DIRECTORY_SEPARATOR for windows in config example

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.0@161 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/config.php.example

    r127b9b1 rd6dfcc1  
    1010function ob_filter_path_nicer($o)
    1111{
    12     $o = str_replace("/home/", "{H}/", $o);
     12    $sep = DIRECTORY_SEPARATOR;
     13    $o = str_replace($_SERVER['DOCUMENT_ROOT'],  "{DOCROOT}$sep", $o);
     14    $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep");
     15    $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o);
     16    if ($sep == '/') {
     17        $o = str_replace("/home/", "{H}/", $o);
     18    }
    1319    return $o;
    1420}
Note: See TracChangeset for help on using the changeset viewer.