mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 20:11:54 +02:00
[ticket/14039] Revamp updater
PHPBB3-14039
This commit is contained in:
38
phpBB/config/installer/container/services_file_updater.yml
Normal file
38
phpBB/config/installer/container/services_file_updater.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
installer.file_updater.factory:
|
||||
class: phpbb\install\helper\file_updater\factory
|
||||
arguments:
|
||||
- @installer.file_updater.collection
|
||||
|
||||
installer.file_updater.collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
- @service_container
|
||||
tags:
|
||||
- { name: service_collection, tag: file_updater }
|
||||
|
||||
installer.file_updater.compress:
|
||||
class: phpbb\install\helper\file_updater\compression_file_updater
|
||||
arguments:
|
||||
- @installer.helper.update_helper
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: file_updater }
|
||||
|
||||
installer.file_updater.ftp:
|
||||
class: phpbb\install\helper\file_updater\ftp_file_updater
|
||||
arguments:
|
||||
- @installer.helper.update_helper
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
- { name: file_updater }
|
||||
|
||||
installer.file_updater.file:
|
||||
class: phpbb\install\helper\file_updater\file_updater
|
||||
arguments:
|
||||
- @filesystem
|
||||
- %core.root_path%
|
||||
tags:
|
||||
- { name: file_updater }
|
Reference in New Issue
Block a user