Return to Snippet

Revision: 37430
at December 10, 2010 02:52 by iroybot


Initial Code
; /config/application.ini
langs.available = "en,es,pt,de,fr"

/* in your php, eg: bootstrap */
$config = new Zend_Config($this->getOptions(), true);
Zend_Registry::set('config', $config);
$langarray = explode(',',$config->langs->get('available'));

Initial URL

                                

Initial Description

                                

Initial Title
Retrieve Zend_Config options from application.ini

Initial Tags
php

Initial Language
PHP