3
1
Back

== '//') { return array(0.1, return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function api_version() { return $this->mangle_article($article); } function hook_render_article($article) { try { return $rel; } if ($rel[0]=='#' || $rel[0]=='?') { return $this->mangle_article($article); } function rel2abs($rel, $base $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } /* absolute URL is ready! .

New Pull Request