Changes on console feedback colors. Example of User Tasks.

This commit is contained in:
Andrs Montaez
2011-11-23 09:38:52 -02:00
parent d6166a674d
commit e5f0fe9cfa
13 changed files with 174 additions and 93 deletions
+4 -2
View File
@@ -6,7 +6,9 @@ class Mage_Config
public function loadEnvironment($environment)
{
$this->_environment = yaml_parse_file('.mage/config/environment/' . $environment . '.yaml');
if ($environment != '') {
$this->_environment = yaml_parse_file('.mage/config/environment/' . $environment . '.yaml');
}
}
public function loadSCM()
@@ -36,7 +38,7 @@ class Mage_Config
return $config['tasks'];
}
public function getConfig($host)
public function getConfig($host = false)
{
$taskConfig = array();
$taskConfig['deploy'] = $this->getEnvironment();