Example #1
0
 private function _init($schemaDir)
 {
     defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'production');
     $configLocation = $schemaDir . '/' . self::CONFIG_FILE_NAME;
     if (file_exists($configLocation)) {
         $this->config = new Zend_Config_Ini($configLocation, null, array('skipExtends' => true, 'allowModifications' => true));
     } else {
         $this->config = new Zend_Config(array(), true);
     }
     Dfi_App_Config::setConfig($this->config);
 }