mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
스프링노트 모듈에서 첨부이미지가 제대로 표시되지 않던 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3300 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1ac1aa0c8a
commit
1cd5f40274
1 changed files with 3 additions and 0 deletions
|
|
@ -95,6 +95,9 @@
|
|||
// source에서 /pages/숫자로 되어 있는 url의 수정
|
||||
$page->source = preg_replace('/="\/pages\/([0-9]+)"/is','="?mid='.Context::get('mid').'&pageid=\\1"', $page->source);
|
||||
|
||||
// 첨부파일의 경로를 변경
|
||||
$page->source = preg_replace('/="\/pages\/([0-9]+)\/attachments\/([0-9]+)"/is','="'.$page->uri.'/attachments/\\2"', $page->source);
|
||||
|
||||
$uri = preg_replace('/pages(.*)$/i','',$page->uri);
|
||||
$page->css_files = array(
|
||||
sprintf('%sstylesheets/xhtmlContent.css?%d', $uri, time()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue