去掉某一后台针对于模板的绑定。
版本:5.3
打开include目录的global.func.php
搜索 okinfo()
/*前台跳转*/ function okinfo($url = '../site/sysadmin.php',$langinfo){ if($langinfo){ echo("<script type='text/javascript'> alert('$langinfo'); location.href='$url'; </script>"); } else{ header('HTTP/1.1 404 Not Found'); echo("<script type='text/javascript'>location.href='$url'; </script>"); } exit(); }将echo("<script type='text/javascript'> alert('$langinfo'); location.href='$url'; </script>");屏蔽掉。
/*前台跳转*/ function okinfo($url = '../site/sysadmin.php',$langinfo){ if($langinfo){ //echo("<script type='text/javascript'> alert('$langinfo'); location.href='$url'; </script>"); } else{ header('HTTP/1.1 404 Not Found'); echo("<script type='text/javascript'>location.href='$url'; </script>"); } exit(); }搜索Powered
echo "<script>alert(\"{$met_weburl}未授权使用此模板或已经过期!Powered by MetInfo\");window.parent.close();</script>";将echo "<script>alert(\"{$met_weburl}未授权使用此模板或已经过期!Powered by MetInfo\");window.parent.close();</script>";屏蔽掉。
//echo "<script>alert(\"{$met_weburl}未授权使用此模板或已经过期!Powered by MetInfo\");window.parent.close();</script>";
2017-12-15 14:11:28
评论区