Cake php 2.x project redirecting to wrong url after ACL implementation
问题 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 =