mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-19 06:26:54 +01:00
This commit is contained in:
@@ -110,7 +110,13 @@ EOD;
|
||||
$segs2=explode(DIRECTORY_SEPARATOR,$path2);
|
||||
$n1=count($segs1);
|
||||
$n2=count($segs2);
|
||||
|
||||
|
||||
for($i=0;$i<$n1 && $i<$n2;++$i)
|
||||
{
|
||||
if($segs1[$i]!==$segs2[$i])
|
||||
break;
|
||||
}
|
||||
|
||||
if($i===0)
|
||||
return "'".$path1."'";
|
||||
$up='';
|
||||
|
||||
Reference in New Issue
Block a user