mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 19:49:54 +02:00
[ticket/13762] Moving language related functionality into a separate class
PHPBB3-13762
This commit is contained in:
22
phpBB/config/default/container/services_language.yml
Normal file
22
phpBB/config/default/container/services_language.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
language.helper.language_file:
|
||||
class: phpbb\language\language_file_helper
|
||||
arguments:
|
||||
- %core.root_path%
|
||||
|
||||
language:
|
||||
class: phpbb\language\language
|
||||
arguments:
|
||||
- @language.loader
|
||||
|
||||
language.loader_abstract:
|
||||
abstract: true
|
||||
class: phpbb\language\language_file_loader
|
||||
arguments:
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
|
||||
language.loader:
|
||||
parent: language.loader_abstract
|
||||
calls:
|
||||
- [set_extension_manager, ["@ext.manager"]]
|
Reference in New Issue
Block a user