瀏覽代碼

Reverse inclusion order to favor the local vendors first

Jordi Boggiano 13 年之前
父節點
當前提交
f0ac227567
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap.php

+ 1 - 1
src/bootstrap.php

@@ -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);