Har*_*M V 2 authentication cakephp cakephp-2.4
我有管理员前缀,我们有一个基于CMS的部分,网站所有者将能够维护应用程序内容.
有没有办法通过Auth组件自动限制这些部分.而其他部分不需要身份验证.
// other wise i will have to add a lot of actions like below
$this->Auth->allow('home', 'about', 'contacts);
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2432 次 |
最近记录: |