mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 18:29:55 +09:00
외부페이지 호출 에러 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7727 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8c099e55d4
commit
c329d56fb9
2 changed files with 5 additions and 5 deletions
|
|
@ -150,13 +150,12 @@
|
|||
|
||||
// .. 와 같은 경우 대상 경로를 구함
|
||||
elseif(preg_match('/^\.\./i',$val)) {
|
||||
$p = Context::pathToUrl($this->path);
|
||||
$p = Context::pathToUrl($this->path).'/';
|
||||
return sprintf("%s%s%s%s",$matches[1],$matches[2],$p.$val,$matches[4]);
|
||||
}
|
||||
|
||||
if(substr($val,0,2)=='./') $val = substr($val,2);
|
||||
//$p = '/'.str_replace(_XE_PATH_,'',$this->path);
|
||||
$p = Context::pathToUrl($this->path);
|
||||
$p = Context::pathToUrl($this->path).'/';
|
||||
return sprintf("%s%s%s%s",$matches[1],$matches[2],$p.$val,$matches[4]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue