Mercurial > hg > ywww
comparison mdetect.php @ 16:093e42d5a874
minor tidy-ups on new-server install
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Thu, 20 Apr 2017 18:15:34 -0400 |
| parents | 077b0a0a3e6d |
| children |
comparison
equal
deleted
inserted
replaced
| 13:b78209a5fba1 | 16:093e42d5a874 |
|---|---|
| 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() |
