aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r--phpBB/phpbb/install/helper/container_factory.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/phpbb/install/helper/container_factory.php b/phpBB/phpbb/install/helper/container_factory.php
index dab16b81fd..dc0eef6485 100644
--- a/phpBB/phpbb/install/helper/container_factory.php
+++ b/phpBB/phpbb/install/helper/container_factory.php
@@ -115,11 +115,7 @@ class container_factory
// Check whether container can be built
// We need config.php for that so let's check if it has been set up yet
- if (filesize($this->phpbb_root_path . 'config.' . $this->php_ext))
- {
- $this->build_container();
- }
- else
+ if (!filesize($this->phpbb_root_path . 'config.' . $this->php_ext))
{
throw new cannot_build_container_exception();
}