On Thu, Oct 6, 2011 at 1:49 AM, Douglas Needham <[email protected]> wrote:
> Actually, there is one time this will not work. If you are trying to do > this while you are still bootstrapping, you cannot get the bootstrap, as > it has not yet been added to the parameters of the front controller. > See the thread I started yesterday. > > Regards, > - Doug True, but I wouldn't suggest you touch "application code" during bootstrap. Set up your resources, that's all. When you need application code executed, place them in controllers, action helpers or frontcontroller plugins. But indeed, I made the assumption Mike want to utilze application code, I am not sure about actually. When you create your own resources, they'll extend Zend_Application_Resource_Abstract anyhow and make the bootstrap available. Regards, Jurian
