I have a question as I need to have a global static variable and I have question is any possibility to add it to the application.ini file, how to do it?
Or I have to:
in Application.ini file
someservice.apikey = 12345678
someservice.passkey = 87654321
in bootstrap
public function _initSomeservice()
{
$someservice = $this->getOption('someservice');
Zend_Registry::set('someservice', $someservice);
}
to pull from Registry
$config = Zend_Registry::get('someservice');