aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/container_builder.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-07 00:08:34 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-07 01:02:50 +0200
commite2cbaf4f1a0b0ddcba45babbe922076ff149a83d (patch)
tree8a4846f5b03a2a0045be2bab64bc88f09478fd07 /phpBB/phpbb/di/container_builder.php
parent5b11ee8c97e88367fc39b90b6a871e3bf16f7d1e (diff)
downloadforums-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.php5
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;
}