1
0
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:
ansavin
2020-05-12 21:43:40 +03:00
committed by Marc Alexander
parent 05a58e8942
commit b3199265a2
4 changed files with 22 additions and 3 deletions

View File

@@ -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'