Hi Dan, To my understanding, the framework relies on the frontController instance everytime a request is sent to the application, and since every request went thru the bootstrap file then the config will get parsed each time.
Rgds, Michael > -----Original Message----- > From: Dan Rossi [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 02, 2007 10:07 AM > To: Zend Framework > Subject: [fw-general] Persistant config > > hi there, sorry I should compile these, when i set a config > array from a config xml to a registry entry, is this a > persistant registry pointer across pages, ie the xml doesnt > get parsed each time ? > > $config = new Zend_Config_Xml('../application/config/config.xml', > 'staging'); > > $registry = Zend_Registry::getInstance(); > $registry->set('config', $config); > > I have this in my bootstrap file. > > Let me know thanks. > ---
