Extra check for vendor 3 folders up.

Failure to check up *3* folders when running the binary from
chrisboulton/php-resque/bin/ results in never finding the autoload
file when it tries to load up the composer dependencies.
This commit is contained in:
Jesse O'Brien 2013-01-21 15:50:24 -05:00
parent aae168392c
commit 762daf9f36

View File

@ -4,6 +4,7 @@
// Find and initialize Composer // Find and initialize Composer
$files = array( $files = array(
__DIR__ . '/../../vendor/autoload.php', __DIR__ . '/../../vendor/autoload.php',
__DIR__ . '/../../../autoload.php',
__DIR__ . '/../../../../autoload.php', __DIR__ . '/../../../../autoload.php',
__DIR__ . '/../vendor/autoload.php', __DIR__ . '/../vendor/autoload.php',
); );