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.
On Wed, Mar 4, 2009 at 10:51 AM, Gregory Eve <
[email protected]> wrote:
> Hi,
>
> you need to put your Zend_Config object in the Zend_Registry to access to
> it in your entire application.
>
>
> Grégory EVE
> developer engineer
> PlayBack Team
>
> Mimesis Republic
> 80, rue des Haies
> 75020 Paris
>
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.