mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
add global vars for twig
This commit is contained in:
parent
aab2d74b19
commit
edfb65c56e
@ -1,2 +1,6 @@
|
||||
twig:
|
||||
default_path: '%kernel.project_dir%/templates'
|
||||
globals:
|
||||
WEBSITE_NAME: '%env(WEBSITE_NAME)%'
|
||||
WEBSITE_LOGO: '%env(WEBSITE_LOGO)%'
|
||||
APP_ENV: '%env(APP_ENV)%'
|
||||
|
@ -8,6 +8,8 @@ parameters:
|
||||
OLD_DATABASE_USER: '%env(OLD_DATABASE_USER)%'
|
||||
OLD_DATABASE_PASS: '%env(OLD_DATABASE_PASS)%'
|
||||
UNIQ_INSTALL_KEY: '%env(UNIQ_INSTALL_KEY)%'
|
||||
WEBSITE_NAME: '%env(WEBSITE_NAME)%'
|
||||
WEBSITE_LOGO: '%env(WEBSITE_LOGO)%'
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
|
Loading…
x
Reference in New Issue
Block a user