1
0
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:
Marc Alexander 2017-01-03 22:53:18 +01:00
parent 9f149e345b
commit a4d67c55d9
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

@ -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))
{