3
1
Back

If ($rel[0]=='#' || $rel[0]=='?') { return $base.$rel; } extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { function about() { return $article; } /* dirty absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; for ($n = 1; // [0:No, 1:Yes] // Would you like a notch.

New Pull Request