Skip to content
Snippets Groups Projects
Commit c00450b2 authored by cbhp's avatar cbhp
Browse files

always use a user-agent constant

Some providers block connections with missing user-agents. Also
user-agents are useful for analyzing requests. I've added a USER_AGENT
constant that is used in cURL and in file_get_contents.
parent 969b41c1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment