mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ef1f759a87
commit
328e37d822
3 changed files with 42 additions and 7 deletions
|
|
@ -75,6 +75,10 @@
|
|||
$buff = FileHandler::readFile($tpl_file);
|
||||
if(!$buff) return;
|
||||
|
||||
// 플러그인 변경
|
||||
$oContext = &Context::getInstance();
|
||||
$buff = preg_replace_callback('!<img([^\>]*)plugin=([^\>]*?)\>!is', array($oContext,'transPluginCode'), $buff);
|
||||
|
||||
// 이미지 태그 img의 src의 값이 http:// 나 / 로 시작하지 않으면 제로보드의 root경로부터 시작하도록 변경
|
||||
$buff = preg_replace_callback('!img([^>]*)src=[\'"]{1}(.*?)[\'"]{1}!is', array($this, '_compileImgPath'), $buff);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue