From 84ab8f53317119297a0835922e8836ec07441e1a Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Mon, 5 Jul 2021 15:37:02 +0300 Subject: [PATCH] add config vklan --- app/confg.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/confg.php b/app/confg.php index 8c310f5..a73c17e 100644 --- a/app/confg.php +++ b/app/confg.php @@ -32,8 +32,14 @@ define('API', 'http://api.argumenti.ru/'); define('IMGSRV', 'https://imgurl.argumenti.ru/'); /* тестовый магазин ЮКАССА */ -define('YID', '812455'); -define('YKEY', 'test_7asbXctnircUsmb_DhtYWSfxMiWzPgJBDF7OoZ0XfvQ'); +if (SITE == 'http://klan.argumenti.ru/'){ + define('YID', '767032'); // магазин АН + define('YKEY', 'live_fS8znRxo23zYD9I3rkeH3yDYhtpQmh3i5Lbf73QCW3I'); +} +else { + define('YID', '812455'); + define('YKEY', 'test_7asbXctnircUsmb_DhtYWSfxMiWzPgJBDF7OoZ0XfvQ'); +} define('LOGDIR', SITEPATH.'logs/'); // папка куда падают логи