AppController::constructClasses()? On Mon, Aug 24, 2009 at 8:42 AM, Pixelastic<timcc.pe...@gmail.com> wrote: > > Hello, > > I have some code I would like to put in my bootstrap.php that needs > the Configure::listObjects() function. Unfortunately, this function > does not return anything when called from inside the bootstrap.php, > likely because bootstrap is called very very early. > > I finally had to put my code in the routes.php file, because that's > the only place I found to get my code loaded as early as possible, but > it is quite an unusual place. And not a very clean way of organizing > things. > > Do any of you know a cleaner way to this ? > > (P.S : As the listObject() method is quite heavy, I DO cache results > of my custom function for further requests, but I need the first one - > cache empty- to occur before any model creation) > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---