3
1
Back

!== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // Something Positive // Timothy Winchester (People I Know elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; $n > 0; $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' .

New Pull Request