Home  >  Article  >  Backend Development  >  帖,ecshop非会员跳转

帖,ecshop非会员跳转

WBOY
WBOYOriginal
2016-06-13 11:52:391030browse

求助帖,ecshop非会员跳转
本小白历经千辛万苦终于实现了ecshop会员注册的后台审核功能
现在遇到的问题是怎么实现非会员浏览网站时只让他可以浏览首页,点击其他页面时自动跳转至会员登陆界面,需要嵌入哪些代码,在哪加?不懂ing。。求帮助啊~~
------解决方案--------------------
没用过ECSHOP
但是我觉得这样应该可以:
在公用类中或者入口文件中判断一下当前用户是否会员,如果不是,就header转跳到登录 (排除一下打开首页的情况)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn