首先确认data 文件夹可写,这个问题基本无视….
function_filesock.php(2012.11.1版本)
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: function_filesock.php 31992 2012-10-30 05:44:15Z zhangjie $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function…