mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14957] Make sure config_php_file is set before injecting
PHPBB3-14957
This commit is contained in:
parent
9f149e345b
commit
a4d67c55d9
1 changed files with 5 additions and 0 deletions
|
@ -525,6 +525,11 @@ class container_builder
|
||||||
*/
|
*/
|
||||||
protected function inject_dbal_driver()
|
protected function inject_dbal_driver()
|
||||||
{
|
{
|
||||||
|
if (empty($this->config_php_file))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$config_data = $this->config_php_file->get_all();
|
$config_data = $this->config_php_file->get_all();
|
||||||
if (!empty($config_data))
|
if (!empty($config_data))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue