1. 找到文件 e/class/functions.php,查找 function DelNewsFile
  2. 替换函数内容
    function DelNewsFile($filename, $newspath, $classid, $newstext, $groupid = 0) {
        global $class_r, $addgethtmlpath, $mob_r;
        include_once ECMS_PATH . "e/dongpo/mob/config.php";
        
        // 文件类型
        if ($groupid) {
            $filetype = ".php";
        } else {
            $filetype = $class_r[$classid]['filetype'];
        }
        
        // 是否有日期目录
        if (empty($newspath)) {
            $mynewspath = "";
        } else {
            $mynewspath = $newspath . "/";
        }
        
        $iclasspath = ReturnSaveInfoPath($classid, $id);
        
        // 删除手机端文件
        $mob_filepath = $mob_r['path'] . $mynewspath . $filename . $filetype;
        if (file_exists($mob_filepath)) {
            unlink($mob_filepath);
        }
    }