@ -9,22 +9,22 @@ class Mage_Config
public function loadEnvironment($environment)
{
if (($environment != '') & & file_exists('.mage/config/environment/' . $environment . '.ya ml')) {
$this->_environment = @yaml_parse_file('.mage/config/environment/' . $environment . '.ya ml');
if (($environment != '') & & file_exists('.mage/config/environment/' . $environment . '.yml')) {
$this->_environment = @yaml_parse_file('.mage/config/environment/' . $environment . '.yml');
}
}
public function loadSCM()
{
if (file_exists('.mage/config/scm.ya ml')) {
$this->_scm = @yaml_parse_file('.mage/config/scm.ya ml');
if (file_exists('.mage/config/scm.yml')) {
$this->_scm = @yaml_parse_file('.mage/config/scm.yml');
}
}
public function loadGeneral()
{
if (file_exists('.mage/config/general.ya ml')) {
$this->_general = @yaml_parse_file('.mage/config/general.ya ml');
if (file_exists('.mage/config/general.yml')) {
$this->_general = @yaml_parse_file('.mage/config/general.yml');
}
}