3
1
Back

== $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif ($title_text && !$alt_text){ $text_element = $doc->createElement("i", $title_text); } else if (bottom_element=="switch") { } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL */ /* replace .

New Pull Request