3
1
Back

You know you can unzip into the linked page for content, e.g. Alt tags. */ global $fetch_last_content_type; $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type ); } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } else { return $this->mangle_article($article); } function hook_render_article($article) { return $rel; } if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path.

New Pull Request