| #306 | break; |
| #307 | case 3: //别名型 |
| #308 | |
| #309 | |
| #310 | preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); //没有设置别名,将用 cid_id 组合 |
| #311 | if( isset($mat[2]) ) { |
| #312 | $_GET['cid'] = $mat[1]; |
| #313 | $_GET['id'] = $mat[2]; |
| #314 | return true; |
| #315 | }elseif( preg_match('/^[a-zA-Z0-9-_]+$/i', $newurl) ) { |