I just did something similar earlier this afternoon. I blogged about it for
record purposes.
You can find it here:
http://blog.ekini.net/2009/03/04/zend-framework-connecting-to-2-databases/
Sorry for the grammatical errors -- english is not my first language :P But
the code samples should be understandable :-)
vince. wrote:
>
> Something like this?
>
> $config = new Zend_Config_Ini(APPLICATION_PATH . '/config.ini');
> $registry = new Zend_Registry(array('config' => $config));
>
> and then:
>
> $registry = Zend_Registry::getInstance();
>
> var_dump( $registry['config'] );
> outputs nothing.
>
-----
http://blog.ekini.net
--
View this message in context:
http://www.nabble.com/Loading-a-config.ini-file-tp22325880p22333007.html
Sent from the Zend Framework mailing list archive at Nabble.com.