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