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