]> BookStack Code Mirror - bookstack/blobdiff - public/index.php
Added ability to secure images behind auth
[bookstack] / public / index.php
index 904bd999b9a1d371a310a4342db72867b3955aa0..ad378d7e071ae46d8873169bac808b874615536b 100644 (file)
@@ -11,17 +11,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 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.
+| 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';
 
 /*
 |--------------------------------------------------------------------------