mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Work around bug in Safari (OS X) Version 3.2.1 (5525.27.1) on multi-domain sites
This commit is contained in:
parent
84c8de754d
commit
c2ca3760b7
@ -108,6 +108,10 @@ print_debug('sane environment','messageonly','api');
|
|||||||
/****************************************************************************\
|
/****************************************************************************\
|
||||||
* Multi-Domain support *
|
* Multi-Domain support *
|
||||||
\****************************************************************************/
|
\****************************************************************************/
|
||||||
|
|
||||||
|
// Work around bug in Safari Version 3.2.1 (5525.27.1) where cookie named domain is called Domain
|
||||||
|
if($_REQUEST['Domain']) $_REQUEST['domain'] = $_REQUEST['Domain'];
|
||||||
|
|
||||||
$GLOBALS['egw_info']['user']['domain'] = egw_session::search_instance(
|
$GLOBALS['egw_info']['user']['domain'] = egw_session::search_instance(
|
||||||
isset($_POST['login']) ? $_POST['login'] : (isset($_SERVER['PHP_AUTH_USER']) ? $_SERVER['PHP_AUTH_USER'] : $_SERVER['REMOTE_USER']),
|
isset($_POST['login']) ? $_POST['login'] : (isset($_SERVER['PHP_AUTH_USER']) ? $_SERVER['PHP_AUTH_USER'] : $_SERVER['REMOTE_USER']),
|
||||||
$_REQUEST['domain'],$GLOBALS['egw_info']['server']['default_domain'],$_SERVER['SERVER_NAME'],$GLOBALS['egw_domain']);
|
$_REQUEST['domain'],$GLOBALS['egw_info']['server']['default_domain'],$_SERVER['SERVER_NAME'],$GLOBALS['egw_domain']);
|
||||||
|
Loading…
Reference in New Issue
Block a user