| #322 | $contentstr = isset($post['content']) ? trim($post['content']) : ''; |
| #323 | $intro = isset($post['intro']) ? trim($post['intro']) : ''; |
| #324 | $tagstr = isset($post['tags']) ? trim($post['tags'], ", \t\n\r\0\x0B") : ''; |
| #325 | $flags = isset($post['flag']) ? (is_array($post['flag']) ? $post['flag'] : explode(',',$post['flag'])) : array(); |
| #326 | $author =isset($post['author']) ? trim($post['author']) : ''; |
| #327 | $alias = isset($post['alias']) ? strtolower(trim($post['alias'])) : ''; |
| #328 | $auto_pic = isset($this->cfg['auto_pic']) ? (int)$this->cfg['auto_pic'] : 0; //自动提取缩略图 |
| #329 | $open_title_check = isset($this->cfg['open_title_check']) ? (int)$this->cfg['open_title_check'] : 0; //是否开启标题重复检查 |
| #330 | |
| #331 | if($alias && preg_match("/^\d+_\d+$/u",$alias)){ // 数字_数字 会和没有别名的 别名型URL冲突,导致404页面 |