message: PHP Warning: Use of undefined constant TB_TG_BOT - assumed 'TB_TG_BOT' (this will throw an Error in a future version of PHP) in /var/www/html/bot/PHPnew/index.php on line 26" while reading response header from upstream, client: 192.168.1.202, server: _, request: "GET /bot/PHPnew/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.1.0"
Why? In the index i Just declare the obj with this method
You are calling defined twice, the second one is superfluous. And why are you dynamically creating constants? Looks like a code smell
Обсуждают сегодня