Another solution that hasn't been brought up is to ship the app with a
default routes configuration, that always redirects you to a specific
controller that handles installations.  You could use the beforeFilter
of the installation controller to disable components that you didn't
want executing, and don't call parent::beforeFilter().

When the installation is completed, just replace the routes file with
the actual production version.  This approach saves a lot of overhead,
compared to bogging down the application with pre-checks, even after
the installation is complete.


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

Reply via email to