Move allowed ChatIDs list to env.php

This commit is contained in:
brian committed 2022-12-29 22:54:06 +00:00
1 parent a992fc6165
commit 1eb0bc4c2b
2 files changed
+6 -5

No files matched your search

+2
View File
@@ -6,3 +6,5 @@ $bot_api_key = '1234567890:Telegram_bot_api_key';
$bot_username = 'telegram_bot_username';
$hook_url = 'https://my.server.com/path/to/hook.php';
putenv('DEEPL_API_KEY=some-uuid-12345-abcde:fx');
$deepl_api_key = 'some-uuid-12345-abcde:fx';
$allowed_chat_ids = [123, 456, -123];