aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-07-21 16:14:21 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-07-21 16:14:40 +0200
commit32d2ee61f78e3aeaac5f4f1bcb672c67aa10b10e (patch)
tree198cb2d66e4d99e7bb55d3f6355a7618c19b95a0 /phpBB/config
parent5d57caee58c58d2a9c283abe8fe88f4eaec9f662 (diff)
downloadforums-32d2ee61f78e3aeaac5f4f1bcb672c67aa10b10e.tar
forums-32d2ee61f78e3aeaac5f4f1bcb672c67aa10b10e.tar.gz
forums-32d2ee61f78e3aeaac5f4f1bcb672c67aa10b10e.tar.bz2
forums-32d2ee61f78e3aeaac5f4f1bcb672c67aa10b10e.tar.xz
forums-32d2ee61f78e3aeaac5f4f1bcb672c67aa10b10e.zip
[feature/dic] Configure container via config.php, use compiler pass
PHPBB3-10739
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/parameters.yml12
-rw-r--r--phpBB/config/services.yml1
-rw-r--r--phpBB/config/tables.yml3
3 files changed, 4 insertions, 12 deletions
diff --git a/phpBB/config/parameters.yml b/phpBB/config/parameters.yml
deleted file mode 100644
index 3c24382fc4..0000000000
--- a/phpBB/config/parameters.yml
+++ /dev/null
@@ -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
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml
index 0141641aaf..20f9d67dd0 100644
--- a/phpBB/config/services.yml
+++ b/phpBB/config/services.yml
@@ -1,4 +1,5 @@
imports:
+ - { resource: tables.yml }
- { resource: cron_tasks.yml }
services:
diff --git a/phpBB/config/tables.yml b/phpBB/config/tables.yml
new file mode 100644
index 0000000000..cfc6dbcfed
--- /dev/null
+++ b/phpBB/config/tables.yml
@@ -0,0 +1,3 @@
+parameters:
+ tables.config: %core.table_prefix%config
+ tables.ext: %core.table_prefix%ext