Updated recipe for symfony/framework-bundle.

This commit is contained in:
Jan Böhmer 2020-05-31 19:56:50 +02:00
parent 38028fcfc5
commit 16a2e23c51
3 changed files with 18 additions and 64 deletions

View file

@ -1,10 +1,13 @@
<?php
use App\Kernel;
use Symfony\Component\Dotenv\Dotenv;
use Symfony\Component\ErrorHandler\Debug;
use Symfony\Component\HttpFoundation\Request;
require dirname(__DIR__).'/config/bootstrap.php';
require dirname(__DIR__).'/vendor/autoload.php';
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
if ($_SERVER['APP_DEBUG']) {
umask(0000);