1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 13:30:25 +02:00

[ticket/15851] Automatic update downloader

PHPBB3-15851
This commit is contained in:
Máté Bartus
2023-09-22 09:35:54 +01:00
committed by Marc Alexander
parent 84ec3dc6c3
commit d2c402f038
9 changed files with 352 additions and 1 deletions

View File

@@ -20,3 +20,5 @@ parameters:
- passwords.driver.bcrypt
- passwords.driver.salted_md5
- passwords.driver.phpass
public_key: 'auJX0pGetfYatE7t/rX5hAkCLZv9s78TwKkLfR3YGuQ='

View File

@@ -37,6 +37,7 @@ imports:
- { resource: services_twig.yml }
- { resource: services_twig_extensions.yml }
- { resource: services_ucp.yml }
- { resource: services_updater.yml }
- { resource: services_user.yml }
- { resource: tables.yml }

View File

@@ -0,0 +1,14 @@
services:
updater.get_updates:
class: phpbb\update\get_updates
arguments:
- '@filesystem'
- '%public_key%'
- '%core.root_path%'
updater.controller:
class: phpbb\update\controller
arguments:
- '@filesystem'
- '@updater.get_updates'
- '%core.root_path%'