I've coded a simple login system for admin pages.
In core.php I've the line:

Configure::write('Routing.admin', 'admin');

Routing and login system works fine but the problem is that when
logged in and viewing an admin page

eg. http://localhost/cake/app/admin/movies/

all links coded like

e($html->link('Search', array('controller' => 'movies', 'action' =>
'search')));

turns to be

http://localhost/cake/app/admin/movies/search

where it was previously working fine(what i aim for)

http://localhost/cake/app/movies/search

Any help? Thanks for your interest!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to