mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11902] Prevent errors if set_time_limit disabled
PHPBB3-11902
This commit is contained in:
parent
3e694f784d
commit
d062402c4b
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ $safe_time_limit = min(15, (ini_get('max_execution_time') / 2));
|
|||
// we want to try and take additional measures to prevent hitting the
|
||||
// max execution time (if, say, one migration step takes much longer
|
||||
// than the max execution time)
|
||||
set_time_limit(0);
|
||||
@set_time_limit(0);
|
||||
|
||||
while (!$migrator->finished())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue