3
1
Back

0; $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! */ return $scheme.'://'.$abs; } /* OotS uses some kind of odd LFO. Photos Build notes GitHub repository https://github.com/holmesrichards/precadsr Submodules git clone git@gitlab.com:rsholmes/precadsr.git git submodule update Find.

New Pull Request