2012-04-09 00:22:55 +02:00
|
|
|
imports:
|
2014-09-29 12:13:17 +02:00
|
|
|
- { resource: auth.yml }
|
|
|
|
- { resource: avatar.yml }
|
2014-08-08 18:02:03 +02:00
|
|
|
- { resource: captcha.yml }
|
2014-09-29 12:13:17 +02:00
|
|
|
- { resource: console.yml }
|
|
|
|
- { resource: content.yml }
|
|
|
|
- { resource: cron.yml }
|
|
|
|
- { resource: db.yml }
|
|
|
|
- { resource: event.yml }
|
|
|
|
- { resource: feed.yml }
|
|
|
|
- { resource: mimetype_guesser.yml }
|
|
|
|
- { resource: notification.yml }
|
|
|
|
- { resource: password.yml }
|
|
|
|
- { resource: profilefield.yml }
|
|
|
|
- { resource: user.yml }
|
|
|
|
|
|
|
|
- { resource: tables.yml }
|
2014-08-10 12:55:49 +02:00
|
|
|
- { resource: parameters.yml }
|
2012-04-09 00:22:55 +02:00
|
|
|
|
2012-03-31 04:06:52 +02:00
|
|
|
services:
|
2012-08-25 16:39:38 +02:00
|
|
|
cache:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\cache\service
|
2012-08-25 16:39:38 +02:00
|
|
|
arguments:
|
|
|
|
- @cache.driver
|
2012-12-26 17:57:05 -05:00
|
|
|
- @config
|
|
|
|
- @dbal.conn
|
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
2012-08-25 16:39:38 +02:00
|
|
|
|
|
|
|
cache.driver:
|
|
|
|
class: %cache.driver.class%
|
|
|
|
|
2012-03-31 20:45:33 +02:00
|
|
|
class_loader:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\class_loader
|
2012-03-31 20:45:33 +02:00
|
|
|
arguments:
|
2013-09-16 06:16:53 +02:00
|
|
|
- phpbb\
|
2012-03-31 20:45:33 +02:00
|
|
|
- %core.root_path%includes/
|
2013-04-24 17:07:30 -05:00
|
|
|
- %core.php_ext%
|
2012-03-31 21:20:58 +02:00
|
|
|
calls:
|
|
|
|
- [register, []]
|
|
|
|
- [set_cache, [@cache.driver]]
|
2012-03-31 20:45:33 +02:00
|
|
|
|
|
|
|
class_loader.ext:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\class_loader
|
2012-03-31 20:45:33 +02:00
|
|
|
arguments:
|
2013-09-17 16:15:44 +02:00
|
|
|
- \
|
2012-03-31 20:45:33 +02:00
|
|
|
- %core.root_path%ext/
|
2013-04-24 17:07:30 -05:00
|
|
|
- %core.php_ext%
|
2012-03-31 21:20:58 +02:00
|
|
|
calls:
|
|
|
|
- [register, []]
|
|
|
|
- [set_cache, [@cache.driver]]
|
2012-03-31 20:45:33 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
config:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\config\db
|
2012-03-31 20:21:26 +02:00
|
|
|
arguments:
|
2012-08-25 16:39:38 +02:00
|
|
|
- @dbal.conn
|
|
|
|
- @cache.driver
|
|
|
|
- %tables.config%
|
2012-03-31 04:06:52 +02:00
|
|
|
|
2014-06-27 19:39:47 +02:00
|
|
|
config.php:
|
|
|
|
synthetic: true
|
|
|
|
|
2013-03-05 03:13:27 +01:00
|
|
|
config_text:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\config\db_text
|
2013-03-05 03:13:27 +01:00
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- %tables.config_text%
|
|
|
|
|
2012-10-19 19:54:19 -04:00
|
|
|
controller.helper:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\controller\helper
|
2012-10-19 19:54:19 -04:00
|
|
|
arguments:
|
2012-11-13 11:02:01 -05:00
|
|
|
- @template
|
|
|
|
- @user
|
2013-09-03 16:16:23 -07:00
|
|
|
- @config
|
2014-03-08 16:32:43 +01:00
|
|
|
- @controller.provider
|
2014-05-02 23:03:03 +02:00
|
|
|
- @ext.manager
|
2014-07-08 00:04:11 +02:00
|
|
|
- @symfony_request
|
2014-11-12 11:44:56 +01:00
|
|
|
- @request
|
2014-09-15 23:47:05 +02:00
|
|
|
- @filesystem
|
2012-11-13 11:02:01 -05:00
|
|
|
- %core.root_path%
|
2013-04-24 17:10:17 -05:00
|
|
|
- %core.php_ext%
|
2012-10-19 19:54:19 -04:00
|
|
|
|
|
|
|
controller.resolver:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\controller\resolver
|
2012-10-19 19:54:19 -04:00
|
|
|
arguments:
|
|
|
|
- @user
|
|
|
|
- @service_container
|
2014-05-11 15:10:14 +02:00
|
|
|
- %core.root_path%
|
2013-07-24 12:24:35 -05:00
|
|
|
- @template
|
2012-10-19 19:54:19 -04:00
|
|
|
|
2014-03-08 16:32:43 +01:00
|
|
|
controller.provider:
|
|
|
|
class: phpbb\controller\provider
|
2014-03-09 19:03:15 +01:00
|
|
|
calls:
|
|
|
|
- [find, [%core.root_path%]]
|
2014-03-08 16:32:43 +01:00
|
|
|
|
2012-03-31 04:06:52 +02:00
|
|
|
ext.manager:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\extension\manager
|
2012-03-31 04:06:52 +02:00
|
|
|
arguments:
|
2013-01-10 19:32:39 -06:00
|
|
|
- @service_container
|
2012-03-31 04:06:52 +02:00
|
|
|
- @dbal.conn
|
2012-09-01 21:15:39 +01:00
|
|
|
- @config
|
2013-04-17 18:43:19 +02:00
|
|
|
- @filesystem
|
2014-05-12 02:31:52 +03:00
|
|
|
- @user
|
2012-03-31 04:06:52 +02:00
|
|
|
- %tables.ext%
|
|
|
|
- %core.root_path%
|
2013-04-24 17:15:28 -05:00
|
|
|
- %core.php_ext%
|
2012-03-31 04:06:52 +02:00
|
|
|
- @cache.driver
|
|
|
|
|
2013-04-17 17:45:49 +02:00
|
|
|
filesystem:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\filesystem
|
2013-04-17 17:45:49 +02:00
|
|
|
|
2014-11-21 18:05:39 +01:00
|
|
|
file_downloader:
|
|
|
|
class: phpbb\file_downloader
|
|
|
|
|
2012-10-19 19:54:19 -04:00
|
|
|
http_kernel:
|
|
|
|
class: Symfony\Component\HttpKernel\HttpKernel
|
|
|
|
arguments:
|
|
|
|
- @dispatcher
|
|
|
|
- @controller.resolver
|
|
|
|
|
2012-12-09 23:47:46 +01:00
|
|
|
log:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\log\log
|
2012-12-09 23:47:46 +01:00
|
|
|
arguments:
|
|
|
|
- @dbal.conn
|
|
|
|
- @user
|
|
|
|
- @auth
|
|
|
|
- @dispatcher
|
|
|
|
- %core.root_path%
|
2013-01-16 16:23:41 +01:00
|
|
|
- %core.adm_relative_path%
|
2012-12-09 23:47:46 +01:00
|
|
|
- %core.php_ext%
|
|
|
|
- %tables.log%
|
|
|
|
|
2013-09-26 15:34:44 +02:00
|
|
|
path_helper:
|
|
|
|
class: phpbb\path_helper
|
|
|
|
arguments:
|
|
|
|
- @symfony_request
|
|
|
|
- @filesystem
|
2014-04-21 19:53:46 +02:00
|
|
|
- @request
|
2013-09-26 15:34:44 +02:00
|
|
|
- %core.root_path%
|
|
|
|
- %core.php_ext%
|
|
|
|
- %core.adm_relative_path%
|
|
|
|
|
2013-07-16 20:11:58 +02:00
|
|
|
php_ini:
|
2013-09-16 06:16:53 +02:00
|
|
|
class: phpbb\php\ini
|
2013-07-16 20:11:58 +02:00
|
|
|
|
2013-10-11 17:40:16 +02:00
|
|
|
plupload:
|
|
|
|
class: phpbb\plupload\plupload
|
|
|
|
arguments:
|
|
|
|
- %core.root_path%
|
|
|
|
- @config
|
|
|
|
- @request
|
|
|
|
- @user
|
|
|
|
- @php_ini
|
2013-10-23 18:34:06 +02:00
|
|
|
- @mimetype.guesser
|
2013-10-11 17:40:16 +02:00
|
|
|
|
2012-08-25 16:39:38 +02:00
|
|
|
request:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\request\request
|
2014-09-11 21:37:56 +02:00
|
|
|
arguments:
|
|
|
|
- null
|
|
|
|
- %core.disable_super_globals%
|
2012-08-25 16:39:38 +02:00
|
|
|
|
2014-11-12 11:44:56 +01:00
|
|
|
# WARNING: The Symfony request does not escape the input and should be used very carefully
|
|
|
|
# prefer the phpbb request (service @request) as possible
|
2013-09-13 09:52:02 -05:00
|
|
|
symfony_request:
|
2013-09-17 18:10:58 +02:00
|
|
|
class: phpbb\symfony_request
|
2012-08-25 17:08:03 +02:00
|
|
|
arguments:
|
2013-09-13 09:52:02 -05:00
|
|
|
- @request
|
2012-03-31 04:06:52 +02:00
|
|
|
|
|
|
|
template:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\template\twig\twig
|
2012-03-31 04:06:52 +02:00
|
|
|
arguments:
|
2013-09-26 15:34:44 +02:00
|
|
|
- @path_helper
|
2012-03-31 04:06:52 +02:00
|
|
|
- @config
|
|
|
|
- @user
|
2012-11-02 18:51:35 -04:00
|
|
|
- @template_context
|
2011-11-27 00:46:36 -05:00
|
|
|
- @ext.manager
|
2012-11-02 18:51:35 -04:00
|
|
|
|
|
|
|
template_context:
|
2013-09-10 14:01:09 +02:00
|
|
|
class: phpbb\template\context
|
2012-03-31 04:06:52 +02:00
|
|
|
|
2014-02-19 16:11:40 -06:00
|
|
|
version_helper:
|
|
|
|
class: phpbb\version_helper
|
2014-03-10 21:26:46 -05:00
|
|
|
scope: prototype
|
2014-02-19 16:11:40 -06:00
|
|
|
arguments:
|
|
|
|
- @cache
|
|
|
|
- @config
|
2014-11-21 18:07:36 +01:00
|
|
|
- @file_downloader
|
2014-02-19 16:11:40 -06:00
|
|
|
- @user
|