Mercurial > hg > ywww
comparison mdetect.php @ 41:0578c6e438d3
merge
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 30 Jul 2017 05:36:48 -0400 |
parents | 093e42d5a874 |
children |
comparison
equal
deleted
inserted
replaced
40:77ff181476b8 | 41:0578c6e438d3 |
---|---|
150 //************************** | 150 //************************** |
151 //The constructor. Initializes several default variables. | 151 //The constructor. Initializes several default variables. |
152 function uagent_info() | 152 function uagent_info() |
153 { | 153 { |
154 $this->useragent = strtolower($_SERVER['HTTP_USER_AGENT']); | 154 $this->useragent = strtolower($_SERVER['HTTP_USER_AGENT']); |
155 $this->httpaccept = strtolower($_SERVER['HTTP_ACCEPT']); | 155 $this->httpaccept = strtolower(@$_SERVER['HTTP_ACCEPT']); |
156 } | 156 } |
157 | 157 |
158 //************************** | 158 //************************** |
159 // Initialize Key Stored Values. | 159 // Initialize Key Stored Values. |
160 function InitDeviceScan() | 160 function InitDeviceScan() |