#19255261 외부페이지에서 <load> template 문법지원

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8152 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2011-03-08 09:52:39 +00:00
parent a063ea81d9
commit 401bc2c5b2
2 changed files with 5 additions and 3 deletions

View file

@ -464,7 +464,7 @@
if(!preg_match('/^(http|https)/i',$target))
{
if(substr($target,0,2)=='./') $target = substr($target,2);
if(!substr($target,0,1)!='/') $target = $web_path.$target;
if(substr($target,0,1)!='/') $target = $web_path.$target;
}
if(!$attrs['index']) $attrs['index'] = 'null';