mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Miscellaneous fixes leading to a working cache warmup
This commit is contained in:
parent
532476494b
commit
23d685d596
6 changed files with 13 additions and 4 deletions
2
.env
2
.env
|
|
@ -12,7 +12,7 @@ APP_SECRET=EDITME
|
|||
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
||||
# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
||||
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls
|
||||
DATABASE_URL=mysql:///root@127.0.0.1/sylius_${APP_ENV}?serverVersion=5.5
|
||||
DATABASE_URL=mysql://root@127.0.0.1/sylius_${APP_ENV}?serverVersion=5.5
|
||||
###< doctrine/doctrine-bundle ###
|
||||
|
||||
###> symfony/swiftmailer-bundle ###
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
framework:
|
||||
router: { resource: "%kernel.project_dir%/app/config/routing_dev.yml" }
|
||||
profiler: { only_exceptions: false }
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ security:
|
|||
csrf_parameter: _csrf_admin_security_token
|
||||
csrf_token_id: admin_authenticate
|
||||
remember_me:
|
||||
secret: "%secret%"
|
||||
secret: "%env(APP_SECRET)%"
|
||||
path: /admin
|
||||
name: APP_ADMIN_REMEMBER_ME
|
||||
lifetime: 31536000
|
||||
|
|
@ -69,7 +69,7 @@ security:
|
|||
csrf_parameter: _csrf_shop_security_token
|
||||
csrf_token_id: shop_authenticate
|
||||
remember_me:
|
||||
secret: "%secret%"
|
||||
secret: "%env(APP_SECRET)%"
|
||||
name: APP_SHOP_REMEMBER_ME
|
||||
lifetime: 31536000
|
||||
remember_me_parameter: _remember_me
|
||||
|
|
|
|||
3
config/routes/dev/twig.yaml
Normal file
3
config/routes/dev/twig.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
_errors:
|
||||
resource: '@TwigBundle/Resources/config/routing/errors.xml'
|
||||
prefix: /_error
|
||||
7
config/routes/dev/web_profiler.yaml
Normal file
7
config/routes/dev/web_profiler.yaml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_wdt:
|
||||
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
|
||||
prefix: /_wdt
|
||||
|
||||
_profiler:
|
||||
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
|
||||
prefix: /_profiler
|
||||
Loading…
Add table
Reference in a new issue