修改phpcms/modules/member/content.php中delete函数
public function delete(){
$id = intval($_GET['id']);
if(!$id){
return false;
}
//判断该文章是否待审,并且属于该会员
$username = param::get_cookie('_username');
$userid = param::get_cookie('_userid');
$siteid = get_siteid();
$catid = intval($_GET['catid']);
$siteids = getcache('category_content', 'commons');
$siteid = $siteids[$catid];
$CATEGORYS = getcache('category_content_'.$siteid, 'commons');
$categor