Ejemplo n.º 1
0
 /**
  * set configuration
  */
 protected function _setConfig()
 {
     if (null === self::$_config) {
         if (file_exists(self::$_cnf_file)) {
             try {
                 self::$_config = new Zend_Config_Ini(self::$_cnf_file, self::$_env);
             } catch (Zend_Config_Exception $e) {
                 trigger_error($e->getMessage());
                 exit;
             }
         }
     }
 }