aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-03-05 03:13:27 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-03-05 22:59:57 +0100
commit722092fe546025deeba487f18a34db0e60ca6f1c (patch)
treee20310fdb3c0565855d43dc9f55391ffd5bfe4c4 /phpBB/config
parent828c6c01bb3ffff4d58f1bea1aad82663d656f2c (diff)
downloadforums-722092fe546025deeba487f18a34db0e60ca6f1c.tar
forums-722092fe546025deeba487f18a34db0e60ca6f1c.tar.gz
forums-722092fe546025deeba487f18a34db0e60ca6f1c.tar.bz2
forums-722092fe546025deeba487f18a34db0e60ca6f1c.tar.xz
forums-722092fe546025deeba487f18a34db0e60ca6f1c.zip
[ticket/10202] Define phpbb_config_db_text as a service.
PHPBB3-10202
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/services.yml6
-rw-r--r--phpBB/config/tables.yml1
2 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml
index 7b2a24b2b3..b9c71844dc 100644
--- a/phpBB/config/services.yml
+++ b/phpBB/config/services.yml
@@ -58,6 +58,12 @@ services:
- @cache.driver
- %tables.config%
+ config_text:
+ class: phpbb_config_db_text
+ arguments:
+ - @dbal.conn
+ - %tables.config_text%
+
controller.helper:
class: phpbb_controller_helper
arguments:
diff --git a/phpBB/config/tables.yml b/phpBB/config/tables.yml
index b3093abf0c..1191fd0ae1 100644
--- a/phpBB/config/tables.yml
+++ b/phpBB/config/tables.yml
@@ -1,5 +1,6 @@
parameters:
tables.config: %core.table_prefix%config
+ tables.config_text: %core.table_prefix%config_text
tables.ext: %core.table_prefix%ext
tables.log: %core.table_prefix%log
tables.notification_types: %core.table_prefix%notification_types