mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-11-22 13:34:45 +00:00
21 lines
506 B
PHP
21 lines
506 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Core\Bootstrapper;
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Bootstrap all classes, settings, etc.
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
require '../vendor/autoload.php';
|
|
(new Dotenv())->loadEnv(root_path() . '/.env');
|
|
Bootstrapper::bootSettings();
|
|
Bootstrapper::bootTwig();
|
|
Bootstrapper::bootCore();
|
|
Bootstrapper::bootRoutes();
|
|
Flight::start();
|