From 1764fb600961044bcb773304b9e07389c0ecd1a4 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Mon, 24 Oct 2016 15:14:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=80=D0=B5=D0=BA=D0=B0=D0=BF=D1=87=D0=B8?= =?UTF-8?q?=20=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=BA=D1=88=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=B5=20=D1=87=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B7=20env=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env-dist | 2 ++ api/config/config-prod.php | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 api/config/config-prod.php diff --git a/.env-dist b/.env-dist index 5b836a7..683a034 100644 --- a/.env-dist +++ b/.env-dist @@ -2,6 +2,8 @@ YII_DEBUG=true YII_ENV=dev JWT_USER_SECRET= +RECAPTCHA_PUBLIC= +RECAPTCHA_SECRET= # Web VIRTUAL_HOST=account.ely.by,authserver.ely.by diff --git a/api/config/config-prod.php b/api/config/config-prod.php new file mode 100644 index 0000000..d813524 --- /dev/null +++ b/api/config/config-prod.php @@ -0,0 +1,9 @@ + [ + 'reCaptcha' => [ + 'public' => getenv('RECAPTCHA_PUBLIC'), + 'secret' => getenv('RECAPTCHA_SECRET'), + ], + ], +];