]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Адрес сообщений
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 30 Oct 2024 09:12:31 +0000 (12:12 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 30 Oct 2024 09:12:31 +0000 (12:12 +0300)
erp24/api2/controllers/TelegramController.php

index 13e11005063ffb21097cf489e48ae56b2c3aa60a..597ee2093a0558ff9b5bd432fab139c3d58501e5 100644 (file)
@@ -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) {