aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2013-01-02 01:36:50 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2013-01-02 01:36:50 -0500
commitbc317c49a73bb6e271ac084b0b696b44e20babe8 (patch)
treeb2f03990fa849b9080d77a854d0b79697aa00c74 /phpBB/config
parent3360d4cfce97c19a45dfcf6354b2ba9225125359 (diff)
downloadforums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar
forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar.gz
forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar.bz2
forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar.xz
forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.zip
[ticket/11305] Define hook finder as a service on the container.
PHPBB3-11305
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/services.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml
index 991f6d1214..5c450a5cf6 100644
--- a/phpBB/config/services.yml
+++ b/phpBB/config/services.yml
@@ -127,6 +127,13 @@ services:
- @dispatcher
- @controller.resolver
+ hook_finder:
+ class: phpbb_hook_finder
+ arguments:
+ - %core.root_path%
+ - .%core.php_ext%
+ - @cache.driver
+
kernel_request_subscriber:
class: phpbb_event_kernel_request_subscriber
arguments: