X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/474770af51c9d6d775e6458e636c8f941a68ba98..82e671a06d2d18757a9ff0be83f11e0a7053b3d5:/public/index.php diff --git a/public/index.php b/public/index.php index 820576472..9d890e90a 100644 --- a/public/index.php +++ b/public/index.php @@ -11,15 +11,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 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 great to relax. | */ -require __DIR__.'/../bootstrap/init.php'; +require __DIR__.'/../vendor/autoload.php'; /* |--------------------------------------------------------------------------