mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-23 16:22:19 +01:00
Update recipe for Contao 5.x (#1760)
This commit is contained in:
10
contao/core-bundle/5.0/config/packages/contao_core.yaml
Normal file
10
contao/core-bundle/5.0/config/packages/contao_core.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
# See https://github.com/contao/core-bundle
|
||||
contao:
|
||||
preview_script: '/preview.php'
|
||||
upload_path: files
|
||||
csrf_token_name: contao_csrf_token
|
||||
pretty_error_screens: true
|
||||
|
||||
when@dev:
|
||||
contao:
|
||||
pretty_error_screens: false
|
||||
25
contao/core-bundle/5.0/manifest.json
Normal file
25
contao/core-bundle/5.0/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Contao\\CoreBundle\\ContaoCoreBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"contao:install %PUBLIC_DIR%": "symfony-cmd",
|
||||
"contao:symlinks %PUBLIC_DIR%": "symfony-cmd"
|
||||
},
|
||||
"gitignore": [
|
||||
"/assets/",
|
||||
"/files/",
|
||||
"/public/assets",
|
||||
"/public/files/",
|
||||
"/public/share/",
|
||||
"/public/system/",
|
||||
"/system/*",
|
||||
"!/system/config/",
|
||||
"/system/config/localconfig.php",
|
||||
"/system/config/tcpdf.php",
|
||||
"/system/modules/*/.skip"
|
||||
]
|
||||
}
|
||||
9
contao/core-bundle/5.0/post-install.txt
Normal file
9
contao/core-bundle/5.0/post-install.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
* Enable ESI in the <fg=green>config/packages/framework.yaml</> file.
|
||||
|
||||
* Add the Contao routes to your <fg=green>config/routing.yaml</> file and
|
||||
make sure they are loaded at the very end.
|
||||
|
||||
* Edit your <fg=green>config/security.yaml</> file and include all the
|
||||
necessary providers, firewalls and access control sections.
|
||||
|
||||
Documentation: https://docs.contao.org/dev/
|
||||
Reference in New Issue
Block a user