3
1
Back

$matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { } /* absolute URL is ready! */ return $scheme.'://'.$abs; } /* absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ left_rib_x = thickness.

New Pull Request