Browse Source

Merge remote-tracking branch 'simensen/vendor-bin-runnable'

Jordi Boggiano 13 years ago
parent
commit
4b18753ad6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/composer

+ 1 - 1
bin/composer

@@ -1,7 +1,7 @@
 #!/usr/bin/env php
 <?php
 
-if (!@include __DIR__.'/../vendor/.composer/autoload.php') {
+if ((!@include __DIR__.'/../../../.composer/autoload.php') and (!@include __DIR__.'/../vendor/.composer/autoload.php')) {
     die('You must set up the project dependencies, run the following commands:
 wget http://getcomposer.org/composer.phar
 php composer.phar install