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:
committed by
Marc Alexander
parent
84ec3dc6c3
commit
d2c402f038
@@ -20,3 +20,5 @@ parameters:
|
||||
- passwords.driver.bcrypt
|
||||
- passwords.driver.salted_md5
|
||||
- passwords.driver.phpass
|
||||
|
||||
public_key: 'auJX0pGetfYatE7t/rX5hAkCLZv9s78TwKkLfR3YGuQ='
|
||||
|
@@ -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 }
|
||||
|
14
phpBB/config/default/container/services_updater.yml
Normal file
14
phpBB/config/default/container/services_updater.yml
Normal 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%'
|
Reference in New Issue
Block a user