git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3313 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-12-12 07:16:48 +00:00
parent 6e44fda337
commit 83000701aa

View file

@ -453,7 +453,7 @@
preg_match_all('!<img([^>]*?)>!is', $content, $matches);
$cnt = count($matches[0]);
for($i=0;$i<$cnt;$i++) {
if(preg_match('/src=("|\')*(common|modules|widgets|layouts)/i', $matches[0][$i])) continue;
if(preg_match('/src=("|\'|\.|\/)*(common|modules|widgets|layouts)/i', $matches[0][$i])) continue;
$buffs[] = "image";
$check_files = true;
break;