dedecms 后台模块列表为空的解决办法
发布于 作者:苏南大叔 来源:程序如此灵动~

dede
说起来,功能上是蛮强大的。不过代码上来说,确是非常令人操心。这不,后台列表又出了问题。后台的插件列表是空的,显示没有模块。但是,事实上是有插件的。
现象截图
模块列表地址是:/dede/module_main.php
。
这里该列出的列表,实际上看不到为空。
解决方案
修改文件:
/dede/module_main.php
注释掉Line91 和 line95。
//$modules_remote = $dm->GetModuleUrlList($moduletype,$mdurl);
//...
//$modules = array_merge($modules,$modules_remote);
插件列表就可以显示出来了。这个离奇的bug,产生的主要原因,可能就是取远端插件默认列表失败所造成的。但是,这种情况时好时坏,所以,是否注释掉远程获取列表的功能,大家请自行决定。


