Jonathan Lebensold wrote:
> 
> hmmm... good point, I was using that in a unit test and it was fine.
> 
> Not sure if this is the best way, but you can grab the options in a  
> controller like so:
> 
> $this->getInvokeArg('bootstrap')->getOptions()
> 
> 

Yes indeed, I found it after you gave me the clue )). You can get it from
the bootstrapper:

        $config=Zend_Controller_Front::getInstance()
                                            ->getParam('bootstrap')
                                             ->getOptions();

Thanks again!
Dmitry.


-- 
View this message in context: 
http://www.nabble.com/How-to-get-Config-options--tp23817687p23818331.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to