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

[ticket/16346] More fixes

PHPBB3-16346
This commit is contained in:
rubencm 2020-08-10 07:14:30 +00:00
parent 52b7125cce
commit 758c28ca69
2 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,7 @@ class config_php_file
{ {
if (!$this->config_loaded && file_exists($this->config_file)) if (!$this->config_loaded && file_exists($this->config_file))
{ {
$defined_vars = null; // Define variable before call get_defined_vars
$defined_vars = get_defined_vars(); $defined_vars = get_defined_vars();
require($this->config_file); require($this->config_file);

View File

@ -48,6 +48,7 @@ class migrations_check_config_added_test extends phpbb_test_case
$this->php_ext, $this->php_ext,
$this->table_prefix, $this->table_prefix,
[], [],
[],
new \phpbb\db\migration\helper() new \phpbb\db\migration\helper()
); );
$this->container->set('migrator', $this->migrator); $this->container->set('migrator', $this->migrator);