3
1
Back

Image) // Alice Grove bigger img elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } /* dirty absolute URL is ready! */ } /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; .

New Pull Request