Have a look at the CakePHP AppController, it is in cake/libs/controller/app_controller.php:
On Wed, May 28, 2008 at 2:44 PM, 703designs <[EMAIL PROTECTED]> wrote: > > You mention putting putting the auth component in app_controller.php. > From the manual, "The AppController class can be defined in /app/ > app_controller.php and it should contain methods that are shared > between all of your application's controllers. It extends the > Controller class which is a standard CakePHP library." How do I > configure AppController without removing existing functionality? My > PHP OOP is rusty. > > On May 28, 1:25 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: >> On Wed, May 28, 2008 at 1:22 PM, 703designs <[EMAIL PROTECTED]> wrote: >> >> > I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well >> > aware that the two are separate.I must have made myself unclear. In >> > any case, I'll take a look at Chris' tutorial. It's a bit old, can I >> > expect it to work with recent nightlies? >> >> Yes, it should be fine as the Auth component hasn't really changed >> much since I wrote it. >> >> -- >> Chris Hartjes >> Internet Loudmouth >> Motto for 2008: "Moving from herding elephants to handling snakes..." >> @TheKeyBoard:http://www.littlehart.net/atthekeyboard > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
