| #699 | $flags = isset($post['flag']) ? (array)$post['flag'] : array(); |
| #700 | $author =isset($post['author']) ? trim($post['author']) : ''; |
| #701 | $alias = isset($post['alias']) ? strtolower(trim($post['alias'])) : ''; |
| #702 | $auto_pic = isset($this->cfg['auto_pic']) ? (int)$this->cfg['auto_pic'] : 0; //自动提取缩略图 |
| #703 | if($alias && preg_match("/^\d+_\d+$/u",$alias)){ // 数字_数字 会和没有别名的 别名型URL冲突,导致404页面 |
| #704 | return array('err'=>1 ,'msg'=>lang('alias_error_number_and_number')); |
| #705 | } |
| #706 | |
| #707 | |
| #708 |