| #334 | if (substr($uri, -$len) == $cfg['link_cate_end']) { |
| #335 | $newurl = substr($uri, 0, -$len); |
| #336 | if (isset($cate_arr[$newurl])) { |
| #337 | $_GET['cid'] = (int) $cate_arr[$newurl]; |
| #338 | return true; |
| #339 | } |
| #340 | } |
| #341 | |
| #342 | //分类URL分页的情况 |
| #343 | if (strpos($uri, $cfg['link_cate_page_pre']) !== false) { |