X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Images.php;h=13ba3977f736b5f70432a593acaa660ca8cd7de1;hb=864c17bc6a3d9cee2223800e621fc23363d3cbcc;hp=929119e55acd4194df53e27089c3acb1d3f81f89;hpb=78576a50d854dc0775a4c6913c3098ecabc67557;p=Pman.Core diff --git a/Images.php b/Images.php index 929119e5..13ba3977 100644 --- a/Images.php +++ b/Images.php @@ -338,9 +338,8 @@ class Pman_Core_Images extends Pman $baseURL = $ff->Pman_Images['public_baseURL']; preg_match_all('/]+>/i',$html, $result); - + //print_r($result); $matches = array_unique($result[0]); - foreach($matches as $img) { $imatch = array(); preg_match_all('/(width|height|src)="([^"]*)"/i',$img, $imatch); @@ -356,7 +355,6 @@ class Pman_Core_Images extends Pman if (empty($attr['src'])) { continue; } - if (0 !== strpos($attr['src'], $baseURL)) { // it starts with our 'new' baseURL? $html = self::replaceImgUrl($html, $baseURL, $img, $attr, 'src' );