Changeset 285096e in git


Ignore:
Timestamp:
2012-07-03T13:13:16Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
831bc07
Parents:
67f522a
Message:

try not to "nicer" on middle of the path

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/common.php

    r4856032 r285096e  
    103103        $docRoot = str_replace('/', $sep, $docRoot);
    104104    }
    105     $list_html = str_replace($docRoot,  "{DOCROOT}" . (substr($docRoot, -1) == $sep ? $sep : ""), $list_html);
     105    $list_html = str_replace(">$docRoot",  ">{DOCROOT}" . (substr($docRoot, -1) == $sep ? $sep : ""), $list_html);
    106106    $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep");
    107     $list_html = str_replace($xcachedir . $sep, "{XCache}$sep", $list_html);
     107    $list_html = str_replace(">$xcachedir$sep", ">{XCache}$sep", $list_html);
    108108    if ($sep == '/') {
    109         $list_html = str_replace("/home/", "{H}/", $list_html);
     109        $list_html = str_replace(">/home/", ">{H}/", $list_html);
    110110    }
    111111    return $list_html;
Note: See TracChangeset for help on using the changeset viewer.