aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-04-26 21:30:50 +0200
committerNicofuma <github@nicofuma.fr>2015-05-14 23:04:18 +0200
commit549fe66d90eed1d6a4fee6f5f706c73455d73596 (patch)
treeacbc96aacef03fdb6e7d324d79d2592ab52d4dce /phpBB/phpbb/di
parent[ticket/13770] Wither interface for container_builder (diff)
downloadphpbb-549fe66d90eed1d6a4fee6f5f706c73455d73596.tar.gz
phpbb-549fe66d90eed1d6a4fee6f5f706c73455d73596.tar.bz2
phpbb-549fe66d90eed1d6a4fee6f5f706c73455d73596.zip
[ticket/13770] Update tests
PHPBB3-13770
Diffstat (limited to 'phpBB/phpbb/di')
-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 33eb4e59a8..3886bfdd5d 100644
--- a/phpBB/phpbb/di/container_builder.php
+++ b/phpBB/phpbb/di/container_builder.php
@@ -142,7 +142,10 @@ class container_builder
}
// Inject the config
- $this->container_extensions[] = new extension\config($this->config_php_file);
+ if ($this->config_php_file)
+ {
+ $this->container_extensions[] = new extension\config($this->config_php_file);
+ }
$this->container = $this->create_container($this->container_extensions);