3
1
Back

{ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } module title(string, size=12, halign="center", font=font_for_title) { } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Poorly Drawn Lines // Berkeley Mews // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); .

New Pull Request