git-svn-id: http://xe-core.googlecode.com/svn/trunk@498 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-16 06:09:23 +00:00
parent 7aa15de644
commit ca7c17c036
5 changed files with 14 additions and 11 deletions

View file

@ -123,7 +123,7 @@
if(substr($path,0,1)=='/' || eregi(":\/\/",$path)) return $str1;
$path = preg_replace('/^([\.\/]+)/','',$path);
$path = preg_replace('/^(\.\/|\/)/','',$path);
$path = '<?=$this->tpl_path?>'.$path;
return str_replace($str2, $path, $str1);
}