mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Added HOME Composer autoload path to head of Valet CLI file.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user