WordPress 允许上传任意文件

在网站根目录,编辑 wp-config.php

在 /* That’s all, stop editing! Happy blogging. */ 前面填入代码:

/* Add any custom values between this line and the "stop editing" line. */
define('ALLOW_UNFILTERED_UPLOADS', true);
/* That's all, stop editing! Happy publishing. */
AD: 【腾讯云服务器大降价】 2核4G 222元/3年 1核2G 38元/年
网站:阿蛮君博客
标题:WordPress 允许上传任意文件
链接:https://www.amjun.com/1067.html
本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长进行核实删除。
转载本站文章需要遵守:商业转载请联系站长,非商业转载请注明出处!!
THE END
分享
二维码
打赏
海报
WordPress 允许上传任意文件
在网站根目录,编辑 wp-config.php。 在 /* That’s all, stop editing! Happy blogging. */ 前面填入代码: /* Add any custom values between this line and ……
<<上一篇
下一篇>>