dedecms5.7后台卡

两个一模一样的程序,安装在不同的空间上,却发现有的空间在访问后台时点击菜单会卡死,使浏览器进入假死状态要等好久才能反应过来。。
经过排查发现问题出在index_testenv.php,DedeCMS安全提示执行缓慢造成的,具体是哪段代码引起的问题暂时没有搞清楚,现阶段的解决办法是屏蔽相关代码:
目录dede/templets/的index_body.htm文件中的第25行至第35行部分屏蔽

function showMore()
{
$("#allInfo").toggle();
$("#allInfoTD").toggle();
}


$(function()
{
$.get("index_testenv.php",function(data)
{
if(data !== '')
{
$("#__testEvn").html(data);
}
})
})

< /script>

猜你喜欢

转载自284772894.iteye.com/blog/1888780