3
1
Back

Return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; .

New Pull Request