mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-20 07:30:16 +01:00
[ticket/14957] Make sure config_php_file is set before injecting
PHPBB3-14957
This commit is contained in:
parent
9f149e345b
commit
a4d67c55d9
@ -525,6 +525,11 @@ class container_builder
|
||||
*/
|
||||
protected function inject_dbal_driver()
|
||||
{
|
||||
if (empty($this->config_php_file))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$config_data = $this->config_php_file->get_all();
|
||||
if (!empty($config_data))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user