1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 00:07:44 +02:00

[ticket/13211] Add log wrapper for writing database updater to log file

PHPBB3-13211
This commit is contained in:
Marc Alexander
2014-10-24 13:20:40 -07:00
parent 14300a1475
commit 516bd9ea51
2 changed files with 96 additions and 1 deletions

View File

@@ -174,7 +174,7 @@ define('IN_DB_UPDATE', true);
// End startup code
$migrator = $phpbb_container->get('migrator');
$migrator->set_output_handler(new \phpbb\db\html_migrator_output_handler($user));
$migrator->set_output_handler(new \phpbb\db\log_wrapper_migrator_output_handler($user, new \phpbb\db\html_migrator_output_handler($user), $phpbb_root_path . 'store/migrations_' . time() . '.log'));
$migrator->create_migrations_table();