laravel/public/index.php

18 lines
468 B
PHP
Raw Normal View History

2011-06-08 23:45:08 -05:00
<?php
2020-06-24 13:09:30 -05:00
use Illuminate\Http\Request;
2017-04-17 18:39:32 -03:00
define('LARAVEL_START', microtime(true));
2024-01-17 16:44:19 -06:00
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
2020-07-16 14:27:19 -05:00
}
2024-01-17 16:44:19 -06:00
// Register the Composer autoloader...
2017-04-17 18:39:32 -03:00
require __DIR__.'/../vendor/autoload.php';
2013-01-11 15:14:07 -06:00
2024-01-17 16:44:19 -06:00
// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
->handleRequest(Request::capture());