Issue Type: Improvement Created: 2010-02-16T09:16:24.000+0000 Last Updated: 2012-10-18T09:24:07.000+0000 Status: Open Fix version(s): Reporter: Gildas de Cadoudal (gildas.de.cadoudal) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application
Related issues: Attachments:
With Zend_Application you can load additional configuration files via
<pre class="highlight"> [production] config.subconfig = "subconfig.ini"
Currently it is not possible to load a sub sub configuration file. For example:
<pre class="highlight"> [production] config.subsubconfig = "subsubconfig.ini"
configuration file subsubconfig.ini will not be charged.
It would be interesting to implement this recursive loading.
Posted by Marcus Kliche (mkliche) on 2012-10-18T09:24:07.000+0000
I have quick workaround for this. bq. $application = new Zend_Application( APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini' );
// Workaround for 2-level recursive including of config files $application->setOptions($application->getOptions());
$application->bootstrap() ->run(); It includes at least subsubconfig file, but not subsubsubconfig files... you will have to call $application->setOptions($application->getOptions()); on time for each sub config file level greater than one.
Have you found an issue?
See the Overview section for more details.