sso fix for explorer/outlook

This commit is contained in:
SJ
2014-09-17 11:24:40 +02:00
parent 1313ab520c
commit 836a15663f
4 changed files with 58 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?php
function is_mobile_device() {
function browser_detect() {
if(!isset($_SERVER['HTTP_USER_AGENT'])) { define('OUTLOOK', 0); return 0; }
@ -11,7 +11,7 @@ function is_mobile_device() {
return 0;
}
define('MOBILE_DEVICE', is_mobile_device());
define('MOBILE_DEVICE', browser_detect());
?>