#985 | $url_suffix = C('url_suffix'); |
#986 | if($url_suffix) { |
#987 | $suf_len = strlen($url_suffix); |
#988 | if(substr($u, -($suf_len)) == $url_suffix) $u = substr($u, 0, -($suf_len)); |
#989 | } |
#990 | |
#991 | $uarr = explode('&', $u); |
#992 | $u = $uarr[0]; |
#993 | if(count($uarr) > 1){ |
#994 | array_shift($uarr); |