discuz如果修改passport的设置


由于从开发服务器转移代码到测试服务器上,发现原来设置的discuz的passport_key与原来的不匹配,造成无法登录。虽然,可以通过简单的修改自己开发的代码来解决这个问题,但是想知道如果通过修改discuz的本身内容来进行修正,因此做了一些摸索。发现需要修改两处地方

  1. 数据库中cdb_settings搜索%passport%,修改其中的参数
  2. /forumdata/cache/cache_settings.php是设置的一个缓存文件,也需要进行相应的修改。

修改完成之后即可正常使用。


感谢您的关注。您现在可以 留言(0)留下通告地址



Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image