Open
Description
index.php (default for symfony 4.4)
inconjucation with #20
<?php
use App\Kernel;
use Symfony\Component\Debug\Debug;
use Symfony\Component\HttpFoundation\Request;
require dirname(__DIR__) . '/config/bootstrap.php';
if ($_SERVER['APP_DEBUG']) {
umask(0000);
Debug::enable();
}
bootstrap.php
<?php
use Dbalabka\StaticConstructorLoader\StaticConstructorLoader;
use Symfony\Component\Dotenv\Dotenv;
$composer = require dirname(__DIR__) . '/vendor/autoload.php';
$loader = new StaticConstructorLoader($composer);