mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13740] Fix infinite config.php check loop
PHPBB3-13740
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user