Check for vendor differently for "installs as a dependency" case

main
Beau Simensen 13 years ago
parent d7714983c3
commit 8d0c2e0079

@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php
if ((!@include __DIR__.'/../vendor/.composer/autoload.php') and (!@include '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

Loading…
Cancel
Save