1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +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

@@ -25,10 +25,12 @@ class kernel_terminate_subscriber implements EventSubscriberInterface
* primarily cleanup stuff.
*
* @param PostResponseEvent $event
* @return null
* @return void
*/
public function on_kernel_terminate(PostResponseEvent $event)
{
garbage_collection();
exit_handler();
}