From 96c779142569ac80e9a1c0a956a2c7eba9847dd7 Mon Sep 17 00:00:00 2001 From: Pablo Ogando Ferreira Date: Fri, 21 Feb 2020 19:35:57 +0100 Subject: [PATCH] [WA] Use csv to fix problem with json PUMUKIT_LOCALES env var --- .env | 2 +- .env.travis | 2 +- config/services.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 93c6fcb019..c21e18baea 100644 --- a/.env +++ b/.env @@ -63,7 +63,7 @@ PUMUKIT_DESCRIPTION='Pumukit University TV Website' PUMUKIT_KEYWORDS='webtv, Tv, Pumukit University, pumukit' PUMUKIT_EMAIL=tv@pumukit.tv PUMUKIT_LOGO=/bundles/pumukitwebtv/images/webtv/pumukit_logo.png -PUMUKIT_LOCALES=["en", "es", "gl", "eu", "ca", "fr", "zh-TW", "zh-CN"] +PUMUKIT_LOCALES=en,es,gl,eu,ca,fr,zh-TW,zh-CN PUMUKIT_HOST=localhost PUMUKIT_SCHEME=https PUMUKIT_DELETE_ON_DISK=true diff --git a/.env.travis b/.env.travis index a0649342ca..a3d260974f 100644 --- a/.env.travis +++ b/.env.travis @@ -63,7 +63,7 @@ PUMUKIT_DESCRIPTION='Pumukit University TV Website' PUMUKIT_KEYWORDS='webtv, Tv, Pumukit University, pumukit' PUMUKIT_EMAIL=tv@pumukit.tv PUMUKIT_LOGO=/bundles/pumukitwebtv/images/webtv/pumukit_logo.png -PUMUKIT_LOCALES=["en", "es", "gl", "eu", "ca", "fr", "zh-TW", "zh-CN"] +PUMUKIT_LOCALES=en,es,gl,eu,ca,fr,zh-TW,zh-CN PUMUKIT_HOST=localhost PUMUKIT_SCHEME=https PUMUKIT_DELETE_ON_DISK=true diff --git a/config/services.yaml b/config/services.yaml index 2256ed0dc8..44a87c47a7 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -35,7 +35,7 @@ parameters: primary_color: "%env(string:PUMUKIT_PRIMARY_COLOR)%" font_color: "%env(string:PUMUKIT_FONT_COLOR)%" - pumukit.locales: "%env(json:PUMUKIT_LOCALES)%" + pumukit.locales: "%env(csv:PUMUKIT_LOCALES)%" pumukit.public_dir: "%env(string:PUMUKIT_PUBLIC_DIR)%" pumukit.storage_dir: "%env(string:PUMUKIT_STORAGE_DIR)%" pumukit.uploads_dir: "%env(string:PUMUKIT_UPLOADS_DIR)%"