mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Reverse inclusion order to favor the local vendors first
This commit is contained in:
parent
a9ccfeb548
commit
f0ac227567
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function includeIfExists($file) {
|
|||
}
|
||||
}
|
||||
|
||||
if ((!$loader = includeIfExists(__DIR__.'/../../../.composer/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../vendor/.composer/autoload.php'))) {
|
||||
if ((!$loader = includeIfExists(__DIR__.'/../vendor/.composer/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../.composer/autoload.php'))) {
|
||||
die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
|
||||
'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
|
||||
'php composer.phar install'.PHP_EOL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue