26 lines
701 B
PHP
Executable File
26 lines
701 B
PHP
Executable File
<?php
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Illuminate\Http\Request;
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
// Determine if the application is in maintenance mode...
|
|
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
|
require $maintenance;
|
|
}
|
|
|
|
// Register the Composer autoloader...
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
// Bootstrap Laravel and handle the request...
|
|
/** @var Application $app */
|
|
$app = require_once __DIR__.'/../bootstrap/app.php';
|
|
|
|
register_shutdown_function(function() {
|
|
file_put_contents(__DIR__.'/../included_files.json', json_encode(get_included_files(), JSON_PRETTY_PRINT));
|
|
});
|
|
|
|
$app->handleRequest(Request::capture());
|
|
|