3
1
Back

This foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ } function api_version() { return $this->mangle_article($article); } function hook_render_article($article) { return array(0.1, return array( $html, $content_type ); } function about() { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return array(0.1, return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } /* dirty absolute URL is ready! */ } /* dirty absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re.

New Pull Request