1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

Re-aligned init files with Laravel default

Removed the custom init elements that we added in 2017 to
custom load the helpers file and instead load via composer.

Also removed laravel-microscope package due to not running due to
helpers file.
This commit is contained in:
Dan Brown
2020-10-31 23:05:48 +00:00
parent 474770af51
commit 82e671a06d
6 changed files with 23 additions and 53 deletions

10
artisan
View File

@@ -5,15 +5,17 @@ define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Initialize The App
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| We need to get things going before we start up the app.
| The init file loads everything in, in the correct order.
| 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.
|
*/
require __DIR__.'/bootstrap/init.php';
require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';