Accessing your configuration data that's stored in application.ini
Zend_Application will read the data in your application.ini and make it available from your bootstrap's getOptions() method. It then sets the bootstrap as a parameter in the front controller. Note that the top level keys are all normalised to lowercase too. You can then retrieve the options in a number of ways. In the controller you can do this: public function someAction() { $bootstrap = $this->getInvokeArg('bootstrap'); $options = $bootstrap->getOptions(); } Outside of the controller you… continue reading.