帝国CMS忘记后台帐号密码
帐号密码重置方法:
重置帐号为tester ?密码为12346
1.找到phome_enewsuser表
添加一个帐号
username为tester
password为bbd40c3223cbaac29cd269e49f303b3e ??(由md5(md5('123456').salt)得出)
salt为rand
adminclass为空格
groupid为1
styleid为1
其它默认即可
2.找到phome_enewsuseradd表
添加一条验证问题(设为为无安全问题)
userid为上个步骤中添加帐号的ID
question为0
其它默认即可
3.找到/e/config/config.php(帝国7.0版本) /e/class/config.php(7.0之前版本)打开
查看登录认证码
$ecms_config['esafe']['loginauth']='abcdef';
进后台重新登录即可。