3
1
Back

Continue? Define('ADD_IDS', True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $article; } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } /* dirty absolute URL is ready!

New Pull Request