mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
이미지 링크, 멀티미디어 링크 컴포넌트 파일 경로 부분: rss를 위한 수정, rss 링크 주소 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6624 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
97b90f7031
commit
c6b104c8e4
3 changed files with 8 additions and 1 deletions
|
|
@ -58,6 +58,10 @@
|
|||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&', '&', $src);
|
||||
// 이미지 주소를 request uri가 포함된 주소로 변환 (rss출력, 등등을 위함)
|
||||
$temp_src = explode('/', $src);
|
||||
if($temp_src[0]=='.') $src = Context::getRequestUri().substr($src, 2);
|
||||
elseif($temp_src[0]=='' && $src) $src = Context::getRequestUri().substr($src, 1);
|
||||
if(!$alt) $alt = $src;
|
||||
|
||||
$attr_output = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue