Changeset 953 in svn


Ignore:
Timestamp:
2012-07-03T13:13:16Z (3 years ago)
Author:
Xuefer
Message:

try not to "nicer" on middle of the path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/common.php

    r951 r953  
    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.