mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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 (@$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))
|
if(is_object($GLOBALS['phpgw']->log))
|
||||||
{
|
{
|
||||||
@ -754,7 +756,9 @@
|
|||||||
|
|
||||||
if(@$GLOBALS['phpgw_info']['server']['sessions_checkip'])
|
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))
|
if(is_object($GLOBALS['phpgw']->log))
|
||||||
{
|
{
|
||||||
|
@ -935,7 +935,7 @@
|
|||||||
*/
|
*/
|
||||||
function filesystem_separator()
|
function filesystem_separator()
|
||||||
{
|
{
|
||||||
if (PHP_OS == 'Windows' || PHP_OS == 'OS/2')
|
if(PHP_OS == 'Windows' || PHP_OS == 'OS/2' || PHP_OS == 'WINNT')
|
||||||
{
|
{
|
||||||
return '\\';
|
return '\\';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user