Potential fix for installation on Windows. See issue #4
This commit is contained in:
parent
914c0168f3
commit
d037baf4bc
|
@ -25,12 +25,12 @@ if(!file_exists('./composer.phar'))
|
||||||
{
|
{
|
||||||
print 'INSTALLING: Composer' . PHP_EOL;
|
print 'INSTALLING: Composer' . PHP_EOL;
|
||||||
file_put_contents('./composerinstaller.php', file_get_contents('https://getcomposer.org/installer'));
|
file_put_contents('./composerinstaller.php', file_get_contents('https://getcomposer.org/installer'));
|
||||||
shell_exec('php ./composerinstaller.php');
|
shell_exec('php composerinstaller.php');
|
||||||
unlink('./composerinstaller.php');
|
unlink('./composerinstaller.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
print 'RUNNING: Composer' . PHP_EOL;
|
print 'RUNNING: Composer' . PHP_EOL;
|
||||||
shell_exec('./composer.phar install');
|
shell_exec('php composer.phar install');
|
||||||
|
|
||||||
|
|
||||||
require_once('bootstrap.php');
|
require_once('bootstrap.php');
|
||||||
|
|
Loading…
Reference in a new issue