cakephp-acl

Cake php 2.x project redirecting to wrong url after ACL implementation

ぐ巨炮叔叔 提交于 2020-01-05 10:35:47
问题 My Cake Php project is redirecting to the wrong url after I did the full implementation of ACL by following this tutorial -> http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html. Problem - Correct redirect -> localhost/appname/ Redirect after I implemented ACL -> localhost/appname/appname/ This is the redirect that occurs after login. The public pages (Login) work fine. Below is Appcontroller code- public $components =

Cake php 2.x project redirecting to wrong url after ACL implementation

有些话、适合烂在心里 提交于 2020-01-05 10:35:06
问题 My Cake Php project is redirecting to the wrong url after I did the full implementation of ACL by following this tutorial -> http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html. Problem - Correct redirect -> localhost/appname/ Redirect after I implemented ACL -> localhost/appname/appname/ This is the redirect that occurs after login. The public pages (Login) work fine. Below is Appcontroller code- public $components =