php - zend module specific ini with phpSettings.display_errors -
been trying override phpsettings.display_errors
application/modules/module5/config/module.ini.
my module5/bootstrap.php has
protected function _initmoduleconfig() { $inioptions = new zend_config_ini(dirname(__file__) . '/configs/module.ini'); $this->getapplication()->setoptions($inioptions->toarray()); }
so file parsing the phpsettings given in application.ini getting loaded while given in module.ini getting ignored.
while on application/bootstrap can $this->getapplication() properly. php settings take effect. while im on application/modules/module5/bootstrap.php loose application object, getapplication() returns bootstrap while nothing, php settings don't activated.
looking @ filesystem, shouldn't module.ini
file in config folder in module , called application.ini
instead?
Comments
Post a Comment