mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
[ticket/11902] Prevent errors if set_time_limit disabled
PHPBB3-11902
This commit is contained in:
parent
3e694f784d
commit
d062402c4b
@ -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…
x
Reference in New Issue
Block a user