| #280 | $_GET['cid'] = isset($cate_arr[$mat['cate_alias']]) ? $cate_arr[$mat['cate_alias']] : 0; |
| #281 | empty($_GET['cid']) && core::error404(); |
| #282 | |
| #283 | $_GET['id'] = $mat['id']; |
| #284 | return true; |
| #285 | }elseif( isset($mat['password']) ) { // {password} |
| #286 | $newurl = decrypt($mat['password']);//解密得到 cid_id |
| #287 | preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); |
| #288 | if( isset($mat[2]) ) { |
| #289 | $_GET['cid'] = $mat[1]; |