This commit is contained in:
Anatol Belski 2018-08-07 17:55:42 +02:00
Родитель 134556d419
Коммит e81199f9af
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -141,9 +141,9 @@ class Controller
/* XXX this needs to go into the config, specifically for composer maybe even separate class. */
$url = "https://getcomposer.org/installer";
/* XXX remove the explicit version option when symfony demo is fixed. */
$tool = $this->conf->getToolsDir() . DIRECTORY_SEPARATOR . "composer-setup.php --version=1.6.5";
$tool = $this->conf->getToolsDir() . DIRECTORY_SEPARATOR . "composer-setup.php";
$pw->fetch($url, $tool, $force);
$php->exec("$tool --install-dir=" . $this->conf->getToolsDir());
$php->exec("$tool --install-dir=" . $this->conf->getToolsDir() . " --version=1.6.5");
unlink($tool);
}
}