1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 05:34:01 +02:00

[ticket/16314] Improve handling of page_footer output for controllers

Moved the common template output to controller helper and added
garbage_collection handling to kernel_terminate_subscriber.

PHPBB3-16314
This commit is contained in:
Marc Alexander
2020-01-19 16:03:32 +01:00
parent 6f36a478a5
commit 843e3ae849
6 changed files with 372 additions and 93 deletions

View File

@@ -85,12 +85,21 @@ services:
controller.helper:
class: phpbb\controller\helper
arguments:
- '@auth'
- '@cache.driver'
- '@cron.manager'
- '@dbal.conn'
- '@dispatcher'
- '@language'
- '@template'
- '@user'
- '@config'
- '@symfony_request'
- '@request'
- '@routing.helper'
- '%core.adm_relative_path%'
- '%core.php_ext%'
- '%debug.sql_explain%'
controller.resolver:
class: phpbb\controller\resolver