Mage/Config.php
/**
     * Get deployment configuration
     *
     * @param string $option
     * @param string $default
     * @return string
     */
Get deployment configuration
@param string $option
@param string $default
@return string
Get deployment configuration @param string $option @param string $default @return string
public function deployment($option, $default = false)
    {
    	if (is_array($this->hostConfig) && isset($this->hostConfig['deployment'])) {
    		if (isset($this->hostConfig['deployment'][$option])) {
    			return $this->hostConfig['deployment'][$option];
    		}
    	}
        $config = $this->getEnvironmentOption('deployment', array());
        if (isset($config[$option])) {
            if (is_array($default) && ($config[$option] == '')) {
                return $default;
            } else {
                return $config[$option];
            }
        } else {
            return $default;
        }
    }
public function deployment ( $ option , $ default = false ) { if ( is_array ( $ this -> hostConfig ) && isset ( $ this -> hostConfig [ 'deployment' ] ) ) { if ( isset ( $ this -> hostConfig [ 'deployment' ] [ $ option ] ) ) { return $ this -> hostConfig [ 'deployment' ] [ $ option ] ; } } $ config = $ this -> getEnvironmentOption ( 'deployment' , array ( ) ) ; if ( isset ( $ config [ $ option ] ) ) { if ( is_array ( $ default ) && ( $ config [ $ option ] == '' ) ) { return $ default ; } else { return $ config [ $ option ] ; } } else { return $ default ; } }
Get deployment configuration
 @param string $option
 @param string $default
 @return string
Get deployment configuration @param string $option @param string $default @return string
// Host Config // Global Config