Add possibility for defining the composer_cmd in the global config.

1.0
Andrés Montañez 11 years ago
parent e54baf726a
commit c3204844ea
  1. 2
      Mage/Task/BuiltIn/Composer/ComposerAbstractTask.php

@ -21,7 +21,7 @@ abstract class ComposerAbstractTask extends AbstractTask
{
protected function getComposerCmd()
{
$composerCmd = $this->getParameter('composer_cmd', 'php composer.phar');
$composerCmd = $this->getParameter('composer_cmd', $this->getConfig()->general('composer_cmd', 'php composer.phar'));
return $this->getConfig()->general('composer_cmd', $composerCmd);
}
}

Loading…
Cancel
Save