| #259 | //具体日期的黄历 |
| #260 | $pattern = '/^'.$prefix.'\/(\d+)-(\d+)-(\d+)$/'; |
| #261 | preg_match($pattern, $newurl, $mat); |
| #262 | if(isset($mat[3]) && $mat[3]){ |
| #263 | $_GET['action'] = 'index'; |
| #264 | $_GET['nian'] = $mat[1]; |
| #265 | $_GET['yue'] = $mat[2]; |
| #266 | $_GET['ri'] = $mat[3]; |
| #267 | return; |
| #268 | } |