mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
XEXML로 data importing시에 에디터컴포넌트 - 이미지슬라이드로 작성된 이미지 경로가 제대로 적용되지 않는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6046 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b610fe9f92
commit
64446591b2
1 changed files with 2 additions and 0 deletions
|
|
@ -568,6 +568,8 @@
|
|||
if(count($files)) {
|
||||
foreach($files as $key => $val) {
|
||||
$obj->content = preg_replace('/(src|href)\=(["\']?)'.preg_quote($key).'(["\']?)/i','$1="'.$val.'"',$obj->content);
|
||||
$obj->content = preg_replace('/(["\']?).\/files\/(.+)\/'.preg_quote($key).'([^"\']+)(["\']?)/i','"'.$val.'"',$obj->content);
|
||||
$obj->content = preg_replace('/(["\']?)files\/(.+)\/'.preg_quote($key).'([^"\']+)(["\']?)/i','"'.$val.'"',$obj->content);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue