mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[ticket/13713] Do not use phpbb prefix in configuration
PHPBB3-13713
This commit is contained in:
parent
c6789ad294
commit
e3cee76077
2 changed files with 18 additions and 18 deletions
|
@ -1,22 +1,22 @@
|
||||||
services:
|
services:
|
||||||
# ----- Controller -----
|
# ----- Controller -----
|
||||||
phpbb.mention.controller:
|
mention.controller:
|
||||||
class: phpbb\mention\controller\mention
|
class: phpbb\mention\controller\mention
|
||||||
arguments:
|
arguments:
|
||||||
- '@phpbb.mention.source_collection'
|
- '@mention.source_collection'
|
||||||
- '@request'
|
- '@request'
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
# ----- Sources for mention -----
|
# ----- Sources for mention -----
|
||||||
phpbb.mention.source_collection:
|
mention.source_collection:
|
||||||
class: phpbb\di\service_collection
|
class: phpbb\di\service_collection
|
||||||
arguments:
|
arguments:
|
||||||
- '@service_container'
|
- '@service_container'
|
||||||
tags:
|
tags:
|
||||||
- { name: service_collection, tag: mention.source }
|
- { name: service_collection, tag: mention.source }
|
||||||
|
|
||||||
phpbb.mention.source.base_group:
|
mention.source.base_group:
|
||||||
abstract: true
|
abstract: true
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
|
@ -26,7 +26,7 @@ services:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
phpbb.mention.source.base_user:
|
mention.source.base_user:
|
||||||
abstract: true
|
abstract: true
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
|
@ -35,40 +35,40 @@ services:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
phpbb.mention.source.friend:
|
mention.source.friend:
|
||||||
class: phpbb\mention\source\friend
|
class: phpbb\mention\source\friend
|
||||||
parent: phpbb.mention.source.base_user
|
parent: mention.source.base_user
|
||||||
calls:
|
calls:
|
||||||
- [set_user, ['@user']]
|
- [set_user, ['@user']]
|
||||||
tags:
|
tags:
|
||||||
- { name: mention.source }
|
- { name: mention.source }
|
||||||
|
|
||||||
phpbb.mention.source.group:
|
mention.source.group:
|
||||||
class: phpbb\mention\source\group
|
class: phpbb\mention\source\group
|
||||||
parent: phpbb.mention.source.base_group
|
parent: mention.source.base_group
|
||||||
tags:
|
tags:
|
||||||
- { name: mention.source }
|
- { name: mention.source }
|
||||||
|
|
||||||
phpbb.mention.source.team:
|
mention.source.team:
|
||||||
class: phpbb\mention\source\team
|
class: phpbb\mention\source\team
|
||||||
parent: phpbb.mention.source.base_user
|
parent: mention.source.base_user
|
||||||
tags:
|
tags:
|
||||||
- { name: mention.source }
|
- { name: mention.source }
|
||||||
|
|
||||||
phpbb.mention.source.topic:
|
mention.source.topic:
|
||||||
class: phpbb\mention\source\topic
|
class: phpbb\mention\source\topic
|
||||||
parent: phpbb.mention.source.base_user
|
parent: mention.source.base_user
|
||||||
tags:
|
tags:
|
||||||
- { name: mention.source }
|
- { name: mention.source }
|
||||||
|
|
||||||
phpbb.mention.source.user:
|
mention.source.user:
|
||||||
class: phpbb\mention\source\user
|
class: phpbb\mention\source\user
|
||||||
parent: phpbb.mention.source.base_user
|
parent: mention.source.base_user
|
||||||
tags:
|
tags:
|
||||||
- { name: mention.source }
|
- { name: mention.source }
|
||||||
|
|
||||||
phpbb.mention.source.usergroup:
|
mention.source.usergroup:
|
||||||
class: phpbb\mention\source\usergroup
|
class: phpbb\mention\source\usergroup
|
||||||
parent: phpbb.mention.source.base_group
|
parent: mention.source.base_group
|
||||||
tags:
|
tags:
|
||||||
- { name: mention.source }
|
- { name: mention.source }
|
||||||
|
|
|
@ -27,7 +27,7 @@ phpbb_help_routing:
|
||||||
phpbb_mention_controller:
|
phpbb_mention_controller:
|
||||||
path: /mention
|
path: /mention
|
||||||
methods: [GET, POST]
|
methods: [GET, POST]
|
||||||
defaults: { _controller: phpbb.mention.controller:handle }
|
defaults: { _controller: mention.controller:handle }
|
||||||
|
|
||||||
phpbb_report_routing:
|
phpbb_report_routing:
|
||||||
resource: report.yml
|
resource: report.yml
|
||||||
|
|
Loading…
Add table
Reference in a new issue