aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-28 01:36:59 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-07 01:02:27 +0200
commit1d966fbc86db47c3518b35de849cad3a1f295e71 (patch)
tree06ba40dbd2a99046bee989b1b4ff987e37e37a0b /phpBB/phpbb
parentc87f44c6692c55adb3ce5bc5b7bca8da7b1357ab (diff)
downloadforums-1d966fbc86db47c3518b35de849cad3a1f295e71.tar
forums-1d966fbc86db47c3518b35de849cad3a1f295e71.tar.gz
forums-1d966fbc86db47c3518b35de849cad3a1f295e71.tar.bz2
forums-1d966fbc86db47c3518b35de849cad3a1f295e71.tar.xz
forums-1d966fbc86db47c3518b35de849cad3a1f295e71.zip
[ticket/12775] Add tests for the container factory
PHPBB3-12775
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/di/container_factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/container_factory.php b/phpBB/phpbb/di/container_factory.php
index a83c79f517..426c411e07 100644
--- a/phpBB/phpbb/di/container_factory.php
+++ b/phpBB/phpbb/di/container_factory.php
@@ -170,7 +170,7 @@ class container_factory
$this->container->compile();
}
- if ($this->dump_container && defined('DEBUG'))
+ if ($this->dump_container && !defined('DEBUG'))
{
$this->dump_container($container_filename);
}