mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
New configuration usage. Changes on Releases Listing.
This commit is contained in:
@@ -7,7 +7,7 @@ abstract class Mage_Task_TaskAbstract
|
||||
|
||||
public abstract function run();
|
||||
|
||||
public final function __construct($config)
|
||||
public final function __construct(Mage_Config $config)
|
||||
{
|
||||
$this->_config = $config;
|
||||
}
|
||||
@@ -24,8 +24,8 @@ abstract class Mage_Task_TaskAbstract
|
||||
protected final function _runRemoteCommand($command, &$output = null)
|
||||
{
|
||||
$localCommand = 'ssh '
|
||||
. $this->_config['deploy']['deployment']['user'] . '@' . $this->_config['deploy']['host'] . ' '
|
||||
. '"cd ' . $this->_config['deploy']['deployment']['to'] . ' && '
|
||||
. $this->_config->deployment('user') . '@' . $this->_config->getHost() . ' '
|
||||
. '"cd ' . $this->_config->deployment('to') . ' && '
|
||||
. $command . '"';
|
||||
|
||||
return $this->_runLocalCommand($localCommand, $output);
|
||||
|
||||
Reference in New Issue
Block a user