mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
bugfix from David Desquiens for WIN problem
This commit is contained in:
parent
cca1d7d7bb
commit
75df9443b0
@ -1,16 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* phpGroupWare API - Commononly used functions *
|
* eGroupWare API - Commononly used functions *
|
||||||
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
|
||||||
* and Joseph Engo <jengo@phpgroupware.org> *
|
* and Joseph Engo <jengo@phpgroupware.org> *
|
||||||
* and Mark Peters <skeeter@phpgroupware.org> *
|
* and Mark Peters <skeeter@phpgroupware.org> *
|
||||||
* and Lars Kneschke <lkneschke@linux-at-work.de> *
|
* and Lars Kneschke <lkneschke@linux-at-work.de> *
|
||||||
* Functions commonly used by phpGroupWare developers *
|
* Functions commonly used by eGroupWare developers *
|
||||||
* Copyright (C) 2000, 2001 Dan Kuykendall *
|
* Copyright (C) 2000, 2001 Dan Kuykendall *
|
||||||
* Copyright (C) 2003 Lars Kneschke *
|
* Copyright (C) 2003 Lars Kneschke *
|
||||||
* -------------------------------------------------------------------------*
|
* -------------------------------------------------------------------------*
|
||||||
* This library is part of the phpGroupWare API *
|
* This library is part of the eGroupWare API *
|
||||||
* http://www.phpgroupware.org/api *
|
* http://www.egroupware.org *
|
||||||
* ------------------------------------------------------------------------ *
|
* ------------------------------------------------------------------------ *
|
||||||
* This library is free software; you can redistribute it and/or modify it *
|
* This library is free software; you can redistribute it and/or modify it *
|
||||||
* under the terms of the GNU Lesser General Public License as published by *
|
* under the terms of the GNU Lesser General Public License as published by *
|
||||||
@ -1411,7 +1411,8 @@
|
|||||||
$format .= 'H:i';
|
$format .= 'H:i';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(PHP_OS == 'Windows' && (int)$t < 21600)
|
if((PHP_OS == 'Windows'||PHP_OS == 'WINNT') && (int)$t < 21600)
|
||||||
|
/*if(PHP_OS == 'Windows' && (int)$t < 21600)*/
|
||||||
{
|
{
|
||||||
$t = 21600;
|
$t = 21600;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user