If you have admin routing set up, you'll get an error page: "Trying to
access private method in class"

In your core.php you should have:
Configure::write('Routing.admin', 'admin');

The same thing will happen when you set up prefix routing:

Router::connect('/admin/:controller/:action/*', array('prefix'=>'admin'));

On Sat, Jun 28, 2008 at 8:39 PM, maxi <[EMAIL PROTECTED]> wrote:
>
> How can I deny display admin scripts if sameone call admin script in
> explorer...
>
> example: If someone who is not admin in explorer call this script
>
> http://localhost/vjezba_d/posts/admin_index
>
> that can not see this script....
>
>
>
>
> >
>

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