mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Fix set_time_limit system policy error (#1103)
This commit is contained in:
parent
5a01b59d40
commit
6e6dd31ad4
2 changed files with 7 additions and 2 deletions
|
|
@ -1292,7 +1292,12 @@ END;
|
|||
if ($bValidateAction && $iTimeToReset < \time() - $iResetTimer)
|
||||
{
|
||||
$iResetTimer = \time();
|
||||
\set_time_limit($iTimeToAdd);
|
||||
if (!@\set_time_limit($iTimeToAdd))
|
||||
{
|
||||
$bValidateAction = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue