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