mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/16741] Database tools to use Doctrine
PHPBB3-16741
This commit is contained in:
committed by
Tristan Darricau
parent
aee5e373bc
commit
98134abe20
@@ -7,6 +7,7 @@ imports:
|
||||
- { resource: services_content.yml }
|
||||
- { resource: services_cron.yml }
|
||||
- { resource: services_db.yml }
|
||||
- { resource: services_doctrine.yml }
|
||||
- { resource: services_event.yml }
|
||||
- { resource: services_extensions.yml }
|
||||
- { resource: services_feed.yml }
|
||||
|
5
phpBB/config/default/container/services_doctrine.yml
Normal file
5
phpBB/config/default/container/services_doctrine.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
services:
|
||||
doctrine.connection:
|
||||
class: Doctrine\DBAL\Connection
|
||||
factory: ['phpbb\db\doctrine\connection_factory', 'get_connection']
|
||||
arguments: ['@config.php']
|
Reference in New Issue
Block a user