library/Garp/Application.php
protected function _loadConfig($file) {
        $suffix = pathinfo($file, PATHINFO_EXTENSION);
        $suffix = ($suffix === 'dist') ?
                    pathinfo(basename($file, ".$suffix"), PATHINFO_EXTENSION) : $suffix;
        if ($suffix == 'ini') {
            $config = Garp_Config_Ini::getCached($file, $this->getEnvironment())->toArray();
        } else {
            $config = parent::_loadConfig($file);
        }
        return $config;
    }
protected function _loadConfig($file) {
        $suffix = pathinfo($file, PATHINFO_EXTENSION);
        $suffix = ($suffix === 'dist') ?
                    pathinfo(basename($file, ".$suffix"), PATHINFO_EXTENSION) : $suffix;
        if ($suffix == 'ini') {
            $config = Garp_Config_Ini::getCached($file, $this->getEnvironment())->toArray();
        } else {
            $config = parent::_loadConfig($file);
        }
        return $config;
    }
protected function _loadConfig ( $ file ) { $ suffix = pathinfo ( $ file , PATHINFO_EXTENSION ) ; $ suffix = ( $ suffix === 'dist' ) ? pathinfo ( basename ( $ file , ".$suffix" ) , PATHINFO_EXTENSION ) : $ suffix ; if ( $ suffix == 'ini' ) { $ config = Garp_Config_Ini :: getCached ( $ file , $ this -> getEnvironment ( ) ) -> toArray ( ) ; } else { $ config = parent :: _loadConfig ( $ file ) ; } return $ config ; }
Load configuration file of options.

Optionally will cache the configuration.

@param  string $file
@throws Zend_Application_Exception When invalid configuration file is provided
@return array
Load configuration file of options .