From: Dan Brown Date: Sun, 19 Nov 2017 17:59:12 +0000 (+0000) Subject: Made some further laravel 5.5 cleanup X-Git-Tag: v0.19.0~1^2~20 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/ed88c623d6231230e513a087cada8eae569292a8 Made some further laravel 5.5 cleanup Removed old bootstrap files that are not needed and amended composer to laravel upgrade guide --- diff --git a/.travis.yml b/.travis.yml index d51dd6d4f..12820cbe1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ before_script: - mysql -u root -e "GRANT ALL ON \`bookstack-test\`.* TO 'bookstack-test'@'localhost';" - mysql -u root -e "FLUSH PRIVILEGES;" - phpenv config-rm xdebug.ini - - composer dump-autoload --no-interaction - composer install --prefer-dist --no-interaction - php artisan clear-compiled -n - php artisan optimize -n diff --git a/artisan b/artisan index df630d0d6..d5c6aaf98 100755 --- a/artisan +++ b/artisan @@ -1,6 +1,8 @@ #!/usr/bin/env php handle( | Shutdown The Application |-------------------------------------------------------------------------- | -| Once Artisan has finished running. We will fire off the shutdown events +| Once Artisan has finished running, we will fire off the shutdown events | so that any final work may be done by the application before we shut | down the process. This is the last thing to happen to the request. | @@ -48,4 +50,4 @@ $status = $kernel->handle( $kernel->terminate($input, $status); -exit($status); +exit($status); \ No newline at end of file diff --git a/bootstrap/autoload.php b/bootstrap/autoload.php deleted file mode 100644 index 29f66ace4..000000000 --- a/bootstrap/autoload.php +++ /dev/null @@ -1,35 +0,0 @@ - + * @author Taylor Otwell */ +define('LARAVEL_START', microtime(true)); + /* |-------------------------------------------------------------------------- | Register The Auto Loader @@ -15,11 +17,11 @@ | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! We'll simply require it | into the script here so that we don't have to worry about manual -| loading any of our classes later on. It feels nice to relax. +| loading any of our classes later on. It feels great to relax. | */ -require __DIR__.'/../bootstrap/autoload.php'; +require __DIR__.'/../vendor/autoload.php'; /* |-------------------------------------------------------------------------- @@ -55,4 +57,4 @@ $response = $kernel->handle( $response->send(); -$kernel->terminate($request, $response); +$kernel->terminate($request, $response); \ No newline at end of file