3
1
Back

978eb1d01f Fix for when invisiblebread has no bread function rel2abs($rel, $base) { if ($rel[0]=='#' || $rel[0]=='?') { $path = ''; } /* dirty absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n.