diff --git a/cli/valet.php b/cli/valet.php index 250a1e3..55138aa 100755 --- a/cli/valet.php +++ b/cli/valet.php @@ -6,8 +6,10 @@ */ if (file_exists(__DIR__.'/../vendor/autoload.php')) { require __DIR__.'/../vendor/autoload.php'; -} else { +} elseif (file_exists(__DIR__.'/../../../autoload.php')) { require __DIR__.'/../../../autoload.php'; +} else { + require getenv('HOME').'/.composer/vendor/autoload.php'; } use Silly\Application;