Code wordpress 解决LNMP下WordPress提示scandir()错误的方法 YangJunwei 8年前 (2013-05-10) 0 5712 0 Centos下安装了LNMP,今天突然发现wordpress主题只能显示一个,而且在编辑页面时,发现模板处不能选择,而是提示如下错误: Warning: scandir() has been disabled for security reasons in xxx/yangjunwei/wp-includes/class-wp-theme.php on line 980……