mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-08 14:28:57 +02:00
Changes on console feedback colors. Example of User Tasks.
This commit is contained in:
+4
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user