/ Published in: PHP
you get the whole config if you leave the APPLICATION_ENV (production/development/etc.) parameter out of the constructor
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$config = new Zend_Config_Ini(APPLICATION_PATH.'/configs/application.ini', APPLICATION_ENV); Zend_Registry::set('config', $config);