php - Cakephp routing to alternative login screen -


i have cakephp application , 1 of clients wants own login screen users. when login see logo of clients' company.

i tried solve problem adding new route routes.php:

router::connect('/client', array('controller' => 'users', 'action' => 'loginclient', 'home'));  

so able type businesslearning.nl/client go login screen of company.

in users_controllers.php copied login action, changed name 'loginclient' , added loginclient layout it.

i created loginclient layout.

this looked bit overkill me don't know of other possibility solve this.

and unfortunately didn't work:

error: requested address '/client' not found on server. 


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -