1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/14262] Move convertor to controller

PHPBB3-14262
This commit is contained in:
Mate Bartus
2015-10-28 15:00:11 +01:00
parent 10756f3f87
commit a649768e17
17 changed files with 3082 additions and 3 deletions

View File

@@ -49,3 +49,18 @@ services:
class: phpbb\install\controller\archive_download
arguments:
- '@installer.helper.config'
phpbb.installer.controller.convert:
class: phpbb\convert\controller\convertor
arguments:
- '@installer.helper.container_factory'
- '@installer.helper.database'
- '@phpbb.installer.controller.helper'
- '@installer.helper.install_helper'
- '@installer.helper.iohandler_factory'
- '@language'
- '@installer.navigation.provider'
- '@request'
- '@template'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -33,3 +33,10 @@ services:
tags:
- { name: installer.navigation }
installer.navigation.convertor_navigation:
class: phpbb\install\helper\navigation\convertor_navigation
arguments:
- '@installer.helper.install_helper'
scope: prototype
tags:
- { name: installer.navigation }

View File

@@ -35,3 +35,28 @@ phpbb_installer_update_conflict_download:
path: /download/conflict
defaults:
_controller: phpbb.installer.controller.file_downloader:conflict_archive
phpbb_convert_intro:
path: /convert/{start_new}
defaults:
_controller: phpbb.installer.controller.convert:intro
start_new: 0
phpbb_convert_settings:
path: /convert/settings/{convertor}
defaults:
_controller: phpbb.installer.controller.convert:settings
requirements:
converter: "[a-zA-Z0-9_]+"
phpbb_convert_convert:
path: /convert/in_progress/{converter}
defaults:
_controller: phpbb.installer.controller.convert:convert
requirements:
converter: "[a-zA-Z0-9_]+"
phpbb_convert_finish:
path: /convert/finished
defaults:
_controller: phpbb.installer.controller.convert:finish