From e2cbaf4f1a0b0ddcba45babbe922076ff149a83d Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 7 Jul 2014 00:08:34 +0200 Subject: [ticket/12775] Add the definition of dbal.conn in fixtures/config/services.yml PHPBB3-12775 --- phpBB/phpbb/di/container_builder.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'phpBB/phpbb/di/container_builder.php') diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php index 65db92ada0..ab10073013 100644 --- a/phpBB/phpbb/di/container_builder.php +++ b/phpBB/phpbb/di/container_builder.php @@ -183,7 +183,10 @@ class container_builder $this->container->set('config.php', $this->config_php_file); - $this->inject_dbal(); + if ($this->compile_container) + { + $this->inject_dbal(); + } return $this->container; } -- cgit v1.2.1