Changeset 953


Ignore:
Timestamp:
2012-07-03T15:13:16+02:00 (2 years ago)
Author:
moo
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.