光储充一体 發表於 2018-10-8 15:42:45

织梦DedeCms取消后台登陆验证码的方法示例

<p>首先模拟会员登录和退出,有两个重要文件,一个是include下的memberlogin.class.php和include/helpers下的cache.helper.php文件。</p>
<p>原理为:memberlogin.class.php通过使用缓存助手 helper('cache'),然后/member/config.php 文件引入memberlogin.class.php文件实现模拟登录和退出。</p>
<p>模拟会员登录代码</p>
<p>引入/member/config.php</p>
頁: [1]
查看完整版本: 织梦DedeCms取消后台登陆验证码的方法示例