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

This commit is contained in:
zero 2007-03-29 04:05:22 +00:00
parent bf280a8a53
commit 5666d36e4c
5 changed files with 82 additions and 19 deletions

View file

@ -118,7 +118,7 @@
$str2 = $matches[2];
$path = $str2;
if(substr($path,0,1)=='/' || eregi(":\/\/",$path)) return $str1;
if(!eregi("^([a-z0-9\_\.])",$path)) return $str1;
$path = preg_replace('/^(\.\/|\/)/','',$path);
$path = '<?=$this->tpl_path?>'.$path;