aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-07-25 15:41:10 +0200
committerMate Bartus <mate.bartus@gmail.com>2015-07-25 15:41:10 +0200
commitf7641cd506bd8ad98e923ce84f9f39960a938a69 (patch)
tree32898aa6bd8b55e970fffc7f4bdc235d0c69c74b
parent0befa9f10900238a2be2c3e50d85de3de9c5edec (diff)
downloadforums-f7641cd506bd8ad98e923ce84f9f39960a938a69.tar
forums-f7641cd506bd8ad98e923ce84f9f39960a938a69.tar.gz
forums-f7641cd506bd8ad98e923ce84f9f39960a938a69.tar.bz2
forums-f7641cd506bd8ad98e923ce84f9f39960a938a69.tar.xz
forums-f7641cd506bd8ad98e923ce84f9f39960a938a69.zip
[ticket/13740] Fix infinite config.php check loop
PHPBB3-13740
-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();
}