| #304 | if( isset($mat[2]) ) { |
| #305 | $_GET['cid'] = $mat[1]; |
| #306 | $_GET['id'] = $mat[2]; |
| #307 | return true; |
| #308 | }elseif( preg_match('/^[a-zA-Z0-9-_]+$/i', $newurl) ) { |
| #309 | $row = $this->only_alias->get($newurl); |
| #310 | if( !empty($row) ) { |
| #311 | $_GET['cid'] = $row['cid']; |
| #312 | $_GET['id'] = $row['id']; |
| #313 | return true; |