google fixes

This commit is contained in:
SJ
2014-01-16 23:02:23 +01:00
parent 2c7e4ac3eb
commit 18dff068df
5 changed files with 10 additions and 25 deletions

View File

@ -2,7 +2,7 @@
function is_mobile_device() {
if(!isset($_SERVER['HTTP_USER_AGENT'])) { return 0; }
if(!isset($_SERVER['HTTP_USER_AGENT'])) { define('OUTLOOK', 0); return 0; }
if(strstr($_SERVER['HTTP_USER_AGENT'], "Microsoft Outlook")) { define('OUTLOOK', 1); } else { define('OUTLOOK', 0); }