DEDECMS上传图片Upload filetype not allow解决办法

邪恶的DEDECMS程序员不知道是不是失恋了。

修改 /include/uploadsafe.inc.php 第45行

    $imtypes = array
    (
        "image/pjpeg", "image/jpeg", "image/gif", "image/png",
        "image/xpng", "image/wbmp", "image/bmp"
    );
//替换成
    $imtypes = array
    (
        "image/jpeg", "image/jpeg", "image/gif", "image/png",
        "image/xpng", "image/wbmp", "image/bmp"
    );

转载请注明来源:新一 » DEDECMS上传图片Upload filetype not allow解决办法

赞 (0) 评论 (0) 分享 ()