1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 04:42:04 +02:00

Merge branch 'ticket/14957' into ticket/14957-rhea

This commit is contained in:
Marc Alexander 2017-01-03 22:22:46 +01:00
commit 9f149e345b
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 3 additions and 1 deletions

View File

@ -525,7 +525,8 @@ class container_builder
*/
protected function inject_dbal_driver()
{
if (!empty($this->config_php_file) && !empty($this->config_php_file->get_all()))
$config_data = $this->config_php_file->get_all();
if (!empty($config_data))
{
if ($this->dbal_connection === null)
{

View File

@ -304,6 +304,7 @@ class phpbb_functional_test_case extends phpbb_test_case
],
'cache.driver.class' => 'phpbb\cache\driver\file'
])
->with_config(new \phpbb\config_php_file($phpbb_root_path, $phpEx))
->without_compiled_container()
->get_container();