aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/di/container_builder.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php
index 9801b817d6..5f3aa685bf 100644
--- a/phpBB/phpbb/di/container_builder.php
+++ b/phpBB/phpbb/di/container_builder.php
@@ -309,7 +309,8 @@ class container_builder
*/
protected function inject_dbal_driver()
{
- if (!empty($this->config_php_file->get_all()))
+ $config_data = $this->config_php_file->get_all();
+ if (!empty($config_data))
{
$this->container->set('dbal.conn.driver', $this->get_dbal_connection());
}