Files
mtdb_movie/public/index.php
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

24 lines
579 B
PHP
Executable File

<?php
define('LARAVEL_START', microtime(true));
if (version_compare(PHP_VERSION, '8.1') === -1) {
exit('You need at least PHP ' . '8.1' . ' to install this application.');
}
require __DIR__ . '/../bootstrap/autoload.php';
$app = require_once __DIR__ . '/../bootstrap/app.php';
if (!file_exists(__DIR__ . '/../.env')) {
$app->loadEnvironmentFrom('env.example');
}
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle($request = Illuminate\Http\Request::capture());
$response->send();
$kernel->terminate($request, $response);