diff --git a/.travis.yml b/.travis.yml index 12820cbe1..29727f488 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ dist: trusty sudo: false language: php php: - - 7.0.7 + - 7.0.20 - 7.1.9 cache: diff --git a/artisan b/artisan index d5c6aaf98..dad16dcde 100755 --- a/artisan +++ b/artisan @@ -5,17 +5,15 @@ define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- -| Register The Auto Loader +| Initialize The App |-------------------------------------------------------------------------- | -| Composer provides a convenient, automatically generated class loader -| for our application. We just need to utilize it! We'll require it -| into the script here so that we do not have to worry about the -| loading of any our classes "manually". Feels great to relax. +| We need to get things going before we start up the app. +| The init file loads everything in, in the correct order. | */ -require __DIR__.'/vendor/autoload.php'; +require __DIR__.'/bootstrap/init.php'; $app = require_once __DIR__.'/bootstrap/app.php'; diff --git a/bootstrap/init.php b/bootstrap/init.php new file mode 100644 index 000000000..7d9e43f07 --- /dev/null +++ b/bootstrap/init.php @@ -0,0 +1,25 @@ +