1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[feature/dic] Configure container via config.php, use compiler pass

PHPBB3-10739
This commit is contained in:
Igor Wiedler
2012-07-21 16:14:21 +02:00
parent 5d57caee58
commit 32d2ee61f7
7 changed files with 87 additions and 30 deletions

View File

@@ -1,12 +0,0 @@
parameters:
core.table_prefix: phpbb_
cache.driver.class: phpbb_cache_driver_file
dbal.driver.class: dbal_mysqli
dbal.dbhost:
dbal.dbuser: root
dbal.dbpasswd:
dbal.dbname: phpbb
dbal.dbport:
dbal.new_link: false
tables.config: %core.table_prefix%config
tables.ext: %core.table_prefix%ext

View File

@@ -1,4 +1,5 @@
imports:
- { resource: tables.yml }
- { resource: cron_tasks.yml }
services:

3
phpBB/config/tables.yml Normal file
View File

@@ -0,0 +1,3 @@
parameters:
tables.config: %core.table_prefix%config
tables.ext: %core.table_prefix%ext