Skip to content

Commit 8fa4421

Browse files
committed
Allow laravel bootstrap to load composer autoload as fallback
1 parent 6385ad7 commit 8fa4421

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Bootstraps/Laravel.php

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ public function getApplication()
5353
{
5454
if (file_exists('bootstrap/autoload.php')) {
5555
require_once 'bootstrap/autoload.php';
56+
} else if (file_exists('vendor/autoload.php')) {
57+
require_once 'vendor/autoload.php';
5658
}
5759

5860
// Laravel 5 / Lumen

0 commit comments

Comments
 (0)