I'm guessing you could override the main app_controller.php file and then
add something to the startup or constructor that has something like:
if (isset($this->params['admin'])) {
// do stuff
}
But I'm guessing....
--
Baz L
Web Development 2.0: Web Design, CakePHP, Javascript
http://www.WebDevelopment2.com/
On 9/4/07, Stanley <[EMAIL PROTECTED]> wrote:
>
>
> I create admin area with many controllers and views.
> Now i want to make restrict access to this pages but i don't want to
> repeat myself to each controller and write there a function like
> _checkLoggedIn() . (It's not DRY( Don't Repear Yourself))
>
> How to make restrict access to my pages in simple way. (I'm new in
> cakephp). Are there any simple tutorials to this? Does anyone have any
> ideas?
>
> Please help.
>
> Stanley
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---