mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16366] Make viewtopic lang vars available in feed pages
We call add_lang('viewtopic') in feed controller and configure_user(...) in generate_content() in order to make viewtopic language constants avaliable for message parser when it is called from feed controller PHPBB3-16366
This commit is contained in:
@@ -12,11 +12,13 @@ services:
|
||||
- '@user'
|
||||
- '@auth'
|
||||
- '@dispatcher'
|
||||
- '@language'
|
||||
- '%core.php_ext%'
|
||||
|
||||
feed.helper:
|
||||
class: phpbb\feed\helper
|
||||
arguments:
|
||||
- '@auth'
|
||||
- '@config'
|
||||
- '@service_container'
|
||||
- '@path_helper'
|
||||
|
Reference in New Issue
Block a user