From: fomichev Date: Wed, 30 Oct 2024 09:12:31 +0000 (+0300) Subject: Адрес сообщений X-Git-Tag: 1.6~21^2~11 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=31c6bfa52e2c9704669b99e1ef73a07990249279;p=erp24_rep%2Fyii-erp24%2F.git Адрес сообщений --- diff --git a/erp24/api2/controllers/TelegramController.php b/erp24/api2/controllers/TelegramController.php index 13e11005..597ee209 100644 --- a/erp24/api2/controllers/TelegramController.php +++ b/erp24/api2/controllers/TelegramController.php @@ -28,7 +28,8 @@ class TelegramController extends Controller // private static $WEBHOOK_URL = "https://api2.bazacvetov24.ru/telegram/webhook"; - private static $MESSAGES = "/var/www/www-root/data/www/erp.bazacvetov24.ru/yii_app/api2/messages.txt"; + //private static $MESSAGES = "/var/www/www-root/data/www/erp.bazacvetov24.ru/yii_app/api2/messages.txt"; + private static $MESSAGES = '@app/api2/messages.txt'; public string $botToken = "8063257458:AAGnMf4cxwJWlYLF1wS_arn4PrOaLs9ERQQ"; public function beforeAction($action) {