forked from extern/egroupware
Cleanup other cases of PHP_OS testing for WINNT
This commit is contained in:
parent
a295b5b852
commit
300badbfec
@ -353,7 +353,9 @@
|
||||
|
||||
if (@$GLOBALS['phpgw_info']['server']['sessions_checkip'])
|
||||
{
|
||||
if (PHP_OS != 'Windows' && (! $GLOBALS['phpgw_info']['user']['session_ip'] || $GLOBALS['phpgw_info']['user']['session_ip'] != $this->getuser_ip()))
|
||||
if((PHP_OS != 'Windows') && (PHP_OS != 'WINNT') &&
|
||||
(!$GLOBALS['phpgw_info']['user']['session_ip'] || $GLOBALS['phpgw_info']['user']['session_ip'] != $this->getuser_ip())
|
||||
)
|
||||
{
|
||||
if(is_object($GLOBALS['phpgw']->log))
|
||||
{
|
||||
@ -754,7 +756,9 @@
|
||||
|
||||
if(@$GLOBALS['phpgw_info']['server']['sessions_checkip'])
|
||||
{
|
||||
if (PHP_OS != 'Windows' && (! $GLOBALS['phpgw_info']['user']['session_ip'] || $GLOBALS['phpgw_info']['user']['session_ip'] != $this->getuser_ip()))
|
||||
if((PHP_OS != 'Windows') && (PHP_OS != 'WINNT') &&
|
||||
(!$GLOBALS['phpgw_info']['user']['session_ip'] || $GLOBALS['phpgw_info']['user']['session_ip'] != $this->getuser_ip())
|
||||
)
|
||||
{
|
||||
if(is_object($GLOBALS['phpgw']->log))
|
||||
{
|
||||
|
@ -935,7 +935,7 @@
|
||||
*/
|
||||
function filesystem_separator()
|
||||
{
|
||||
if (PHP_OS == 'Windows' || PHP_OS == 'OS/2')
|
||||
if(PHP_OS == 'Windows' || PHP_OS == 'OS/2' || PHP_OS == 'WINNT')
|
||||
{
|
||||
return '\\';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user