| #366 | if( isset($mat[2]) ) { |
| #367 | $_GET['cid'] = $mat[1]; |
| #368 | $_GET['id'] = $mat[2]; |
| #369 | return true; |
| #370 | }elseif( preg_match('/^[a-zA-Z0-9-_]+$/i', $newurl) ) { |
| #371 | $row = $this->only_alias->get($newurl); |
| #372 | if( !empty($row) ) { |
| #373 | $_GET['cid'] = $row['cid']; |
| #374 | $_GET['id'] = $row['id']; |
| #375 | return true; |