| #374 | |
| #375 | if($this->integer_check($newurl)){ |
| #376 | $_GET['mid'] = 2; |
| #377 | $_GET['id'] = $newurl; |
| #378 | return true; |
| #379 | } |
| #380 | preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); |
| #381 | if( isset($mat[2]) ) { |
| #382 | if( !$this->mid_check($mat[1], $cfg) ){core::error404();} |
| #383 | $_GET['mid'] = $mat[1]; |