index.php 544 B

12345678910111213141516171819
  1. <?php
  2. use Illuminate\Http\Request;
  3. define('LARAVEL_START', microtime(true));
  4. define('RUN_UNIQID', uniqid());
  5. date_default_timezone_set('Asia/Shanghai');
  6. // Determine if the application is in maintenance mode...
  7. if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
  8. require $maintenance;
  9. }
  10. // Register the Composer autoloader...
  11. require __DIR__.'/../vendor/autoload.php';
  12. // Bootstrap Laravel and handle the request...
  13. (require_once __DIR__.'/../bootstrap/app.php')
  14. ->handleRequest(Request::capture());