mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +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
|
// we want to try and take additional measures to prevent hitting the
|
||||||
// max execution time (if, say, one migration step takes much longer
|
// max execution time (if, say, one migration step takes much longer
|
||||||
// than the max execution time)
|
// than the max execution time)
|
||||||
set_time_limit(0);
|
@set_time_limit(0);
|
||||||
|
|
||||||
while (!$migrator->finished())
|
while (!$migrator->finished())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user