r17467889 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4925 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-20 01:04:34 +00:00
parent c0b0017c1d
commit fd9d8e5135

View file

@ -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;