Skip to content

Commit c6de7cf

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #790
2 parents 55bd2d4 + b1e3b7f commit c6de7cf

File tree

6 files changed

+53
-0
lines changed

6 files changed

+53
-0
lines changed

symfony/framework-bundle/4.2/config/packages/framework.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# see https://symfony.com/doc/current/reference/configuration/framework.html
12
framework:
23
secret: '%env(APP_SECRET)%'
34
#csrf_protection: true

symfony/framework-bundle/5.2/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../5.1/config/
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"bundles": {
3+
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/",
7+
"public/": "%PUBLIC_DIR%/",
8+
"src/": "%SRC_DIR%/"
9+
},
10+
"composer-scripts": {
11+
"cache:clear": "symfony-cmd",
12+
"assets:install %PUBLIC_DIR%": "symfony-cmd"
13+
},
14+
"env": {
15+
"APP_ENV": "dev",
16+
"APP_SECRET": "%generate(secret)%"
17+
},
18+
"gitignore": [
19+
"/.env.local",
20+
"/.env.local.php",
21+
"/.env.*.local",
22+
"/%CONFIG_DIR%/secrets/prod/prod.decrypt.private.php",
23+
"/%PUBLIC_DIR%/bundles/",
24+
"/%VAR_DIR%/",
25+
"/vendor/"
26+
]
27+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../4.2/post-install.txt
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
use App\Kernel;
4+
use Symfony\Component\Dotenv\Dotenv;
5+
use Symfony\Component\ErrorHandler\Debug;
6+
use Symfony\Component\HttpFoundation\Request;
7+
8+
require dirname(__DIR__).'/vendor/autoload.php';
9+
10+
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
11+
12+
if ($_SERVER['APP_DEBUG']) {
13+
umask(0000);
14+
15+
Debug::enable();
16+
}
17+
18+
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
19+
$request = Request::createFromGlobals();
20+
$response = $kernel->handle($request);
21+
$response->send();
22+
$kernel->terminate($request, $response);

symfony/framework-bundle/5.2/src

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../5.1/src/

0 commit comments

Comments
 (0)