3
1
Back

} extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '/') { $path = ''; function get_xpath_dealie($link) { $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 is ready! */ Assorted updates elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { Cumulative fixes from v1.1 Checkpoint after converting most things to SMD Checkpoint after re-centering sliders, before removing redundant LED resistors Checkpoint after fixes but.

New Pull Request