3
1
Back

"$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ } function get_img_tags($xpath, $query, $article, $base_url=NULL) { function get_img_tags($xpath, $query, &$article, $base_url=NULL) { /* absolute URL is ready! */ return $scheme.'://'.$abs; } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ } /* absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ } function mangle_article($article) { // Eat That Toast.

New Pull Request