mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/migrations] Comment
PHPBB3-9737
This commit is contained in:
parent
79818c2139
commit
28cd253d19
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ if (!$db_tools->sql_table_exists(MIGRATIONS_TABLE))
|
||||||
$migrator = $phpbb_container->get('migrator');
|
$migrator = $phpbb_container->get('migrator');
|
||||||
$migrator->load_migrations($phpbb_root_path . 'includes/db/migration/data/');
|
$migrator->load_migrations($phpbb_root_path . 'includes/db/migration/data/');
|
||||||
|
|
||||||
|
// What is a safe limit of execution time? Half the max execution time should be safe.
|
||||||
$safe_time_limit = (ini_get('max_execution_time') / 2);
|
$safe_time_limit = (ini_get('max_execution_time') / 2);
|
||||||
|
|
||||||
while (!$migrator->finished())
|
while (!$migrator->finished())
|
||||||
|
|
Loading…
Add table
Reference in a new issue