mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/14957] Make sure config_php_file is set before injecting
PHPBB3-14957
This commit is contained in:
@@ -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))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user