mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Delay in seconds rounded to the lowest quarter hour
This commit is contained in:
@@ -851,7 +851,7 @@ $e_deltaTime=0;
|
|||||||
if (isset($_COOKIE['e107_tdOffset']))
|
if (isset($_COOKIE['e107_tdOffset']))
|
||||||
{
|
{
|
||||||
// Actual seconds of delay. See e107.js and footer_default.php
|
// Actual seconds of delay. See e107.js and footer_default.php
|
||||||
$e_deltaTime = $_COOKIE['e107_tdOffset'];
|
$e_deltaTime = (15*floor(($_COOKIE['e107_tdOffset']/60)/15))*60; // Delay in seconds rounded to the lowest quarter hour
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_COOKIE['e107_tzOffset']))
|
if (isset($_COOKIE['e107_tzOffset']))
|
||||||
|
Reference in New Issue
Block a user