mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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
|
// Check whether container can be built
|
||||||
// We need config.php for that so let's check if it has been set up yet
|
// 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))
|
if (!filesize($this->phpbb_root_path . 'config.' . $this->php_ext))
|
||||||
{
|
|
||||||
$this->build_container();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
throw new cannot_build_container_exception();
|
throw new cannot_build_container_exception();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user