Modify your core.php file and change Configure::write('Routing.admin',
'admin'); to Configure::write('Routing.admin', 'admincp');

2009/1/20, medo <[email protected]>:
>
>
> hi group
>
> I'm trying to make admin routing and after I finish that using
>
> Configure::write('Routing.admin', 'admin');
>
> the owner of the site said to me that he wanted the URL to access the
> admin to be with the prefix admincp for security reason so instead of
>
> /admin/posts/add
>
> become
>
> /admincp/posts/add
>
> my question is how to route the admincp URL prefix to the admin action
> in the post controller ( i mean the admin_add action ) or there is no
> way just to rename all the prefix of admin to the prefix of admincp in
> all actions
>
> and think you for your time
>
> >
>


-- 
Amit

http://amitrb.wordpress.com/
http://coppermine-gallery.net/
http://cheesecake-photoblog.org/
http://www.sanisoft.com/blog/author/amitbadkas

--~--~---------~--~----~------------~-------~--~----~
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