Home  >  Article  >  Backend Development  >  【YII框架】 要把一个完成的项目 除了现有的登陆功能

【YII框架】 要把一个完成的项目 除了现有的登陆功能

WBOY
WBOYOriginal
2016-06-13 12:12:15763browse

【YII框架】 要把一个完成的项目 去掉现有的登陆功能
把之前的登陆功能去掉  访问页面不要判断登陆否  怎么做 很急啊
------解决思路----------------------
那把判斷login的代碼刪除。
但要注意,如果那個頁面是同用戶有關的,需要看清楚邏輯。
------解决思路----------------------
你要看看你的登陆控制是通过controller里面的accessRules还是另外单独写的,
如果是accessRules,直接改成任何人都可以就解决.

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