3
1
Back

Want $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function hook_render_article_cdm($article) { function about() { return $rel; } /* dirty absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for.

New Pull Request