Update URI check to include CLI request detection.
The code now checks if the request URI is '/metrics' or if the PHP script is running from the command line interface (CLI). This change allows for proper handling of CLI requests in addition to web requests.
This commit is contained in:
parent
1534574e97
commit
d829ac06b0
Loading…
Reference in New Issue
Block a user