1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00

Merge pull request #767 from furey/feature/home-autoloader

HOME Autoloader
This commit is contained in:
Matt Stauffer
2019-04-12 16:47:32 -04:00
committed by GitHub

View File

@@ -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;