X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/eaa1765c7a68cd671bcb37a666203210bf05d217..refs/pull/665/head:/public/index.php diff --git a/public/index.php b/public/index.php index c5820533b..ad378d7e0 100644 --- a/public/index.php +++ b/public/index.php @@ -4,22 +4,22 @@ * Laravel - A PHP Framework For Web Artisans * * @package Laravel - * @author Taylor Otwell + * @author Taylor Otwell */ +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 nice 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__.'/../bootstrap/autoload.php'; +require __DIR__.'/../bootstrap/init.php'; /* |-------------------------------------------------------------------------- @@ -55,4 +55,4 @@ $response = $kernel->handle( $response->send(); -$kernel->terminate($request, $response); +$kernel->terminate($request, $response); \ No newline at end of file