[ticket/13740] Fix infinite config.php check loop

PHPBB3-13740
This commit is contained in:
Mate Bartus 2015-07-25 15:41:10 +02:00
parent 0befa9f109
commit f7641cd506

View file

@ -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();
}