zhangjingyu
info_safe.php文件里现在删除的代码是:
“// defend start
CloudWind::yunUserDefend('editprofile', $winduid, $windid, $upmemdata['pwdctime'], 0, 101,'','','',array('profile'=>array_keys($pwSQL)));
// defend end
/* platform weibo app */
$siteBindService = L::loadClass('WeiboSiteBindService', 'sns/weibotoplatform/service'); /* @var $siteBindService PW_WeiboSiteBindService */
if ($siteBindService->isOpen() && $upmembers['password']) {
$weiboLoginService = L::loadClass('WeiboLoginService', 'sns/weibotoplatform/service'); /* @var $weiboLoginService PW_WeiboLoginService */
$weiboLoginService->setLoginUserPasswordHasReset($winduid);”(引用内容)因为看到了里面的“ /* platform weibo app */”,它应该和新浪微博登录有关,也是没用的代码,所以想一起删除了。但经过仔细查看代码发现,只有开始符“{”,而没有结束符“}”,也就是说删除的代码部分是不全的,不应该是这样的。这部分的完整代码是这样的:
“ /* platform weibo app */
$siteBindService = L::loadClass('WeiboSiteBindService', 'sns/weibotoplatform/service'); /* @var $siteBindService PW_WeiboSiteBindService */
if ($siteBindService->isOpen() && $upmembers['password']) {
$weiboLoginService = L::loadClass('WeiboLoginService', 'sns/weibotoplatform/service'); /* @var $weiboLoginService PW_WeiboLoginService */
$weiboLoginService->setLoginUserPasswordHasReset($winduid);
Cookie("winduser",StrCode($winduid."\t".PwdCode($upmembers['password'])."\t".$upmembers['safecv']));
Cookie("ck_info",$db_ckpath."\t".$db_ckdomain);
Cookie('lastvisit','',0);
//自动获取勋章_start
require_once(R_P.'require/functions.php');
doMedalBehavior($winduid,'continue_login');
//自动获取勋章_end
}”(引用内容)里面有和勋章有关的代码,也不知道是否需要保留,所以还是还原吧,只删除最上面和云有关的三行代码。