当phpcms上传附件undefined的解决方法!

修改“  phpcms/modules/attachment/attachments.php  ”文件大约第50行


/判断是否登录

if(empty($this->userid)){

exit('0');

}

修改成:

/判断是否登录
if(empty($_POST['userid'])){

exit('0');
}




来源:www.siyione.com

你可能感兴趣的:(phpcms)