mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
r17467889 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4925 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c0b0017c1d
commit
fd9d8e5135
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@
|
||||||
preg_match_all('!<img([^>]*?)>!is', $content, $matches);
|
preg_match_all('!<img([^>]*?)>!is', $content, $matches);
|
||||||
$cnt = count($matches[0]);
|
$cnt = count($matches[0]);
|
||||||
for($i=0;$i<$cnt;$i++) {
|
for($i=0;$i<$cnt;$i++) {
|
||||||
if(preg_match('/src=("|\'|\.|\/)*(common|modules|widgets|addons|layouts)/i', $matches[0][$i])) continue;
|
if(preg_match('/editor_component=/',$matches[0][$i])&&!preg_match('/image_(gallery|link)/i',$matches[0][$i])) continue;
|
||||||
$buffs[] = "image";
|
$buffs[] = "image";
|
||||||
$check_files = true;
|
$check_files = true;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue