mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13740] Fix infinite config.php check loop
PHPBB3-13740
This commit is contained in:
parent
0befa9f109
commit
f7641cd506
1 changed files with 1 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue