diff options
author | David Flatz | 2014-02-17 18:17:55 +0100 |
---|---|---|
committer | David Flatz | 2014-02-17 18:19:53 +0100 |
commit | 322408b21abd544d48c0026b3ce4ed7b0739192a (patch) | |
tree | 1026919d0232b1937c8d746c0e98341c95e1e062 /it_url.class | |
parent | 2225339ece6ca6bf479abe3b176624fe98c034a2 (diff) | |
download | itools-322408b21abd544d48c0026b3ce4ed7b0739192a.tar.gz itools-322408b21abd544d48c0026b3ce4ed7b0739192a.tar.bz2 itools-322408b21abd544d48c0026b3ce4ed7b0739192a.zip |
modernize user-agent
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index d63e332..c6c84f2 100644 --- a/it_url.class +++ b/it_url.class @@ -291,7 +291,7 @@ function request($p=array()) $p['headers'] = (array)$p['headers'] + array( 'Host' => $url->realhostname . ($url->port != 80 ? ":" . $url->port : ''), - 'User-Agent' => "Mozilla/4.0 (compatible; MSIE 7.0; ITools)", + 'User-Agent' => "Mozilla/5.0 (compatible; MSIE 9.0; ITools)", 'Accept-Language' => $p['headers']['Accept-Language'] ?: T_lang(), # can prevent loading of it_text ); |