0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-13 12:21:46 +00:00

Made some further laravel 5.5 cleanup

Removed old bootstrap files that are not needed and
amended composer to laravel upgrade guide
This commit is contained in:
Dan Brown 2017-11-19 17:59:12 +00:00
parent 873b1099f8
commit ed88c623d6
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
5 changed files with 12 additions and 47 deletions
bootstrap

View file

@ -1,35 +0,0 @@
<?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| 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__.'/../app/helpers.php';
require __DIR__.'/../vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Include The Compiled Class File
|--------------------------------------------------------------------------
|
| To dramatically increase your application's performance, you may use a
| compiled class file which contains all of the classes commonly used
| by a request. The Artisan "optimize" is used to create this file.
|
*/
$compiledPath = __DIR__.'/cache/compiled.php';
if (file_exists($compiledPath)) {
require $compiledPath;
}