Skip to content

Commit 8104be1

Browse files
committed
Add errors preview routes to the framework config
1 parent 837caf3 commit 8104be1

File tree

9 files changed

+40
-2
lines changed

9 files changed

+40
-2
lines changed

symfony/framework-bundle/4.4/config

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../4.2/config/bootstrap.php
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../4.2/config/packages/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_errors:
2+
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
3+
prefix: /__error
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../4.2/config/services.yaml

symfony/framework-bundle/4.4/manifest.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
"#TRUSTED_PROXIES": "127.0.0.1,127.0.0.2",
18+
"#TRUSTED_HOSTS": "'^localhost|example\\.com$'"
19+
},
20+
"gitignore": [
21+
"/.env.local",
22+
"/.env.local.php",
23+
"/.env.*.local",
24+
"/%PUBLIC_DIR%/bundles/",
25+
"/%VAR_DIR%/",
26+
"/vendor/"
27+
]
28+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
twig:
2+
default_path: '%kernel.project_dir%/templates'
3+
debug: '%kernel.debug%'
4+
strict_variables: '%kernel.debug%'

symfony/twig-bundle/5.0/manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../3.3/manifest.json

symfony/twig-bundle/5.0/templates

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

0 commit comments

Comments
 (0)