diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-07-07 00:08:34 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-07 01:02:50 +0200 |
commit | e2cbaf4f1a0b0ddcba45babbe922076ff149a83d (patch) | |
tree | 8a4846f5b03a2a0045be2bab64bc88f09478fd07 /phpBB/phpbb/di/container_builder.php | |
parent | 5b11ee8c97e88367fc39b90b6a871e3bf16f7d1e (diff) | |
download | forums-e2cbaf4f1a0b0ddcba45babbe922076ff149a83d.tar forums-e2cbaf4f1a0b0ddcba45babbe922076ff149a83d.tar.gz forums-e2cbaf4f1a0b0ddcba45babbe922076ff149a83d.tar.bz2 forums-e2cbaf4f1a0b0ddcba45babbe922076ff149a83d.tar.xz forums-e2cbaf4f1a0b0ddcba45babbe922076ff149a83d.zip |
[ticket/12775] Add the definition of dbal.conn in fixtures/config/services.yml
PHPBB3-12775
Diffstat (limited to 'phpBB/phpbb/di/container_builder.php')
-rw-r--r-- | phpBB/phpbb/di/container_builder.php | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |