<?php

if (!defined('IN_PHPBB'))
{
	exit;
}

// Set update info with file structure to update
$update_info = array(
	'version'	=> array('from' => '3.2.10', 'to' => '3.3.1'),
	'files'		=> array(
		'.htaccess',
		'adm/images/phpbb_logo.svg',
		'adm/index.php',
		'adm/style/acp_avatar_options_upload.html',
		'adm/style/acp_contact.html',
		'adm/style/acp_ext_delete_data.html',
		'adm/style/acp_ext_disable.html',
		'adm/style/acp_ext_enable.html',
		'adm/style/acp_ext_list.html',
		'adm/style/acp_forums.html',
		'adm/style/acp_groups.html',
		'adm/style/acp_help_phpbb.html',
		'adm/style/acp_language.html',
		'adm/style/acp_main.html',
		'adm/style/acp_search.html',
		'adm/style/acp_styles.html',
		'adm/style/acp_users_signature.html',
		'adm/style/admin.css',
		'adm/style/ajax.js',
		'adm/style/captcha_recaptcha.html',
		'adm/style/captcha_recaptcha_v3.html',
		'adm/style/captcha_recaptcha_v3_acp.html',
		'adm/style/installer_footer.html',
		'adm/style/overall_footer.html',
		'adm/style/permission_forum_copy.html',
		'adm/style/simple_footer.html',
		'assets/cookieconsent/cookieconsent.min.css',
		'assets/cookieconsent/cookieconsent.min.js',
		'assets/javascript/core.js',
		'assets/javascript/jquery-3.5.1.min.js',
		'common.php',
		'composer.json',
		'composer.lock',
		'config/default/container/parameters.yml',
		'config/default/container/services.yml',
		'config/default/container/services_auth.yml',
		'config/default/container/services_captcha.yml',
		'config/default/container/services_console.yml',
		'config/default/container/services_cron.yml',
		'config/default/container/services_notification.yml',
		'config/default/container/services_password.yml',
		'config/default/container/services_profilefield.yml',
		'config/default/container/services_routing.yml',
		'config/default/container/services_text_formatter.yml',
		'config/default/container/services_twig.yml',
		'config/default/container/services_ucp.yml',
		'config/default/container/tables.yml',
		'config/default/routing/cron.yml',
		'config/default/routing/routing.yml',
		'config/default/routing/ucp.yml',
		'cron.php',
		'download/file.php',
		'ext/phpbb/viglink/acp/viglink_helper.php',
		'ext/phpbb/viglink/composer.json',
		'ext/phpbb/viglink/styles/all/theme/viglink.css',
		'feed.php',
		'includes/acp/acp_attachments.php',
		'includes/acp/acp_bbcodes.php',
		'includes/acp/acp_board.php',
		'includes/acp/acp_database.php',
		'includes/acp/acp_extensions.php',
		'includes/acp/acp_forums.php',
		'includes/acp/acp_help_phpbb.php',
		'includes/acp/acp_main.php',
		'includes/acp/acp_permissions.php',
		'includes/acp/acp_reasons.php',
		'includes/acp/acp_search.php',
		'includes/acp/acp_styles.php',
		'includes/acp/acp_users.php',
		'includes/acp/auth.php',
		'includes/bbcode.php',
		'includes/compatibility_globals.php',
		'includes/constants.php',
		'includes/diff/engine.php',
		'includes/functions.php',
		'includes/functions_acp.php',
		'includes/functions_admin.php',
		'includes/functions_compatibility.php',
		'includes/functions_compress.php',
		'includes/functions_content.php',
		'includes/functions_convert.php',
		'includes/functions_display.php',
		'includes/functions_download.php',
		'includes/functions_module.php',
		'includes/functions_posting.php',
		'includes/functions_transfer.php',
		'includes/functions_user.php',
		'includes/mcp/mcp_logs.php',
		'includes/mcp/mcp_notes.php',
		'includes/mcp/mcp_queue.php',
		'includes/mcp/mcp_topic.php',
		'includes/mcp/mcp_warn.php',
		'includes/message_parser.php',
		'includes/questionnaire/questionnaire.php',
		'includes/startup.php',
		'includes/ucp/ucp_groups.php',
		'includes/ucp/ucp_pm.php',
		'includes/ucp/ucp_profile.php',
		'includes/ucp/ucp_register.php',
		'includes/ucp/ucp_resend.php',
		'index.php',
		'language/en/acp/attachments.php',
		'language/en/acp/board.php',
		'language/en/acp/common.php',
		'language/en/acp/forums.php',
		'language/en/acp/permissions.php',
		'language/en/acp/posting.php',
		'language/en/acp/profile.php',
		'language/en/acp/search.php',
		'language/en/captcha_recaptcha.php',
		'language/en/cli.php',
		'language/en/common.php',
		'language/en/email/test.txt',
		'language/en/email/user_forgot_password.txt',
		'language/en/install.php',
		'language/en/memberlist.php',
		'language/en/posting.php',
		'language/en/search.php',
		'language/en/ucp.php',
		'mcp.php',
		'memberlist.php',
		'phpbb/auth/provider/apache.php',
		'phpbb/auth/provider/base.php',
		'phpbb/auth/provider/db.php',
		'phpbb/auth/provider/ldap.php',
		'phpbb/auth/provider/oauth/oauth.php',
		'phpbb/auth/provider/oauth/service/base.php',
		'phpbb/auth/provider/oauth/service/bitly.php',
		'phpbb/auth/provider/oauth/service/facebook.php',
		'phpbb/auth/provider/oauth/service/google.php',
		'phpbb/auth/provider/oauth/service/service_interface.php',
		'phpbb/auth/provider/oauth/service/twitter.php',
		'phpbb/auth/provider/oauth/token_storage.php',
		'phpbb/auth/provider/provider_interface.php',
		'phpbb/avatar/driver/upload.php',
		'phpbb/cache/driver/memcached.php',
		'phpbb/cache/driver/memory.php',
		'phpbb/captcha/gd_wave.php',
		'phpbb/captcha/non_gd.php',
		'phpbb/captcha/plugins/recaptcha_v3.php',
		'phpbb/class_loader.php',
		'phpbb/config/config.php',
		'phpbb/config_php_file.php',
		'phpbb/console/command/cron/run.php',
		'phpbb/console/command/extension/enable.php',
		'phpbb/console/command/update/check.php',
		'phpbb/console/command/user/add.php',
		'phpbb/console/exception_subscriber.php',
		'phpbb/content_visibility.php',
		'phpbb/controller/helper.php',
		'phpbb/cron/controller/cron.php',
		'phpbb/cron/event/cron_runner_listener.php',
		'phpbb/cron/manager.php',
		'phpbb/cron/task/core/update_hashes.php',
		'phpbb/cron/task/wrapper.php',
		'phpbb/db/driver/driver.php',
		'phpbb/db/driver/driver_interface.php',
		'phpbb/db/driver/factory.php',
		'phpbb/db/driver/mssql_odbc.php',
		'phpbb/db/driver/mssqlnative.php',
		'phpbb/db/driver/mysqli.php',
		'phpbb/db/driver/oracle.php',
		'phpbb/db/driver/postgres.php',
		'phpbb/db/driver/sqlite3.php',
		'phpbb/db/extractor/mysql_extractor.php',
		'phpbb/db/migration/data/v30x/release_3_0_4_rc1.php',
		'phpbb/db/migration/data/v310/softdelete_p1.php',
		'phpbb/db/migration/data/v330/.htaccess',
		'phpbb/db/migration/data/v330/add_display_unapproved_posts_config.php',
		'phpbb/db/migration/data/v330/dev.php',
		'phpbb/db/migration/data/v330/forums_legend_limit.php',
		'phpbb/db/migration/data/v330/jquery_update.php',
		'phpbb/db/migration/data/v330/remove_attachment_flash.php',
		'phpbb/db/migration/data/v330/remove_email_hash.php',
		'phpbb/db/migration/data/v330/remove_max_pass_chars.php',
		'phpbb/db/migration/data/v330/reset_password.php',
		'phpbb/db/migration/data/v330/v330.php',
		'phpbb/db/migration/data/v330/v330b1.php',
		'phpbb/db/migration/data/v330/v330b2.php',
		'phpbb/db/migration/data/v330/v330rc1.php',
		'phpbb/db/migration/data/v33x/.htaccess',
		'phpbb/db/migration/data/v33x/add_notification_emails_table.php',
		'phpbb/db/migration/data/v33x/bot_update.php',
		'phpbb/db/migration/data/v33x/default_search_return_chars.php',
		'phpbb/db/migration/data/v33x/fix_display_unapproved_posts_config.php',
		'phpbb/db/migration/data/v33x/font_awesome_5_rollback.php',
		'phpbb/db/migration/data/v33x/font_awesome_5_update.php',
		'phpbb/db/migration/data/v33x/google_recaptcha_v3.php',
		'phpbb/db/migration/data/v33x/jquery_update.php',
		'phpbb/db/migration/data/v33x/profilefield_cleanup.php',
		'phpbb/db/migration/data/v33x/v331.php',
		'phpbb/db/migration/data/v33x/v331rc1.php',
		'phpbb/db/migration/tool/module.php',
		'phpbb/db/migrator.php',
		'phpbb/db/tools/mssql.php',
		'phpbb/db/tools/postgres.php',
		'phpbb/db/tools/tools.php',
		'phpbb/di/container_builder.php',
		'phpbb/di/extension/container_configuration.php',
		'phpbb/di/extension/core.php',
		'phpbb/di/extension/tables.php',
		'phpbb/di/service_collection.php',
		'phpbb/event/dispatcher.php',
		'phpbb/event/kernel_terminate_subscriber.php',
		'phpbb/exception/exception_interface.php',
		'phpbb/extension/extension_interface.php',
		'phpbb/extension/manager.php',
		'phpbb/feed/controller/feed.php',
		'phpbb/feed/topics_active.php',
		'phpbb/files/filespec.php',
		'phpbb/filesystem/filesystem.php',
		'phpbb/filesystem/filesystem_interface.php',
		'phpbb/filesystem.php',
		'phpbb/finder.php',
		'phpbb/help/controller/bbcode.php',
		'phpbb/help/controller/faq.php',
		'phpbb/install/controller/helper.php',
		'phpbb/install/helper/container_factory.php',
		'phpbb/install/helper/database.php',
		'phpbb/install/helper/iohandler/iohandler_interface.php',
		'phpbb/install/installer_configuration.php',
		'phpbb/install/module/install_data/task/add_bots.php',
		'phpbb/install/module/install_database/task/add_config_settings.php',
		'phpbb/install/module/install_database/task/create_schema.php',
		'phpbb/install/module/install_database/task/set_up_database.php',
		'phpbb/install/module/install_filesystem/task/create_config_file.php',
		'phpbb/install/module/install_finish/task/install_extensions.php',
		'phpbb/install/module/install_finish/task/notify_user.php',
		'phpbb/install/module/requirements/task/check_server_environment.php',
		'phpbb/install/module_base.php',
		'phpbb/language/language_file_loader.php',
		'phpbb/lock/db.php',
		'phpbb/lock/flock.php',
		'phpbb/mimetype/guesser.php',
		'phpbb/notification/method/email.php',
		'phpbb/notification/method/method_interface.php',
		'phpbb/notification/type/approve_post.php',
		'phpbb/notification/type/approve_topic.php',
		'phpbb/notification/type/base.php',
		'phpbb/notification/type/post.php',
		'phpbb/notification/type/topic.php',
		'phpbb/notification/type/type_interface.php',
		'phpbb/passwords/driver/argon2i.php',
		'phpbb/passwords/driver/argon2id.php',
		'phpbb/passwords/driver/base_native.php',
		'phpbb/passwords/manager.php',
		'phpbb/plupload/plupload.php',
		'phpbb/report/report_handler.php',
		'phpbb/request/request.php',
		'phpbb/request/request_interface.php',
		'phpbb/request/type_cast_helper.php',
		'phpbb/search/fulltext_mysql.php',
		'phpbb/search/fulltext_native.php',
		'phpbb/search/fulltext_postgres.php',
		'phpbb/search/fulltext_sphinx.php',
		'phpbb/session.php',
		'phpbb/template/asset.php',
		'phpbb/template/context.php',
		'phpbb/template/template.php',
		'phpbb/template/twig/environment.php',
		'phpbb/template/twig/extension/avatar.php',
		'phpbb/template/twig/extension/config.php',
		'phpbb/template/twig/extension/username.php',
		'phpbb/template/twig/extension.php',
		'phpbb/template/twig/lexer.php',
		'phpbb/template/twig/loader.php',
		'phpbb/template/twig/node/definenode.php',
		'phpbb/template/twig/node/event.php',
		'phpbb/template/twig/node/expression/binary/equalequal.php',
		'phpbb/template/twig/node/expression/binary/notequalequal.php',
		'phpbb/template/twig/node/includeasset.php',
		'phpbb/template/twig/node/includenode.php',
		'phpbb/template/twig/node/includephp.php',
		'phpbb/template/twig/node/php.php',
		'phpbb/template/twig/tokenparser/defineparser.php',
		'phpbb/template/twig/tokenparser/event.php',
		'phpbb/template/twig/tokenparser/includecss.php',
		'phpbb/template/twig/tokenparser/includejs.php',
		'phpbb/template/twig/tokenparser/includeparser.php',
		'phpbb/template/twig/tokenparser/includephp.php',
		'phpbb/template/twig/tokenparser/php.php',
		'phpbb/template/twig/twig.php',
		'phpbb/textformatter/acp_utils_interface.php',
		'phpbb/textformatter/s9e/acp_utils.php',
		'phpbb/textformatter/s9e/bbcode_merger.php',
		'phpbb/textformatter/s9e/factory.php',
		'phpbb/ucp/controller/reset_password.php',
		'phpbb/user.php',
		'phpbb/user_loader.php',
		'posting.php',
		'report.php',
		'search.php',
		'styles/prosilver/style.cfg',
		'styles/prosilver/template/attachment.html',
		'styles/prosilver/template/bbcode.html',
		'styles/prosilver/template/captcha_recaptcha.html',
		'styles/prosilver/template/captcha_recaptcha_v3.html',
		'styles/prosilver/template/forum_fn.js',
		'styles/prosilver/template/memberlist_search.html',
		'styles/prosilver/template/navbar_footer.html',
		'styles/prosilver/template/overall_footer.html',
		'styles/prosilver/template/overall_header.html',
		'styles/prosilver/template/posting_buttons.html',
		'styles/prosilver/template/posting_layout.html',
		'styles/prosilver/template/search_body.html',
		'styles/prosilver/template/simple_footer.html',
		'styles/prosilver/template/ucp_avatar_options_upload.html',
		'styles/prosilver/template/ucp_groups_manage.html',
		'styles/prosilver/template/ucp_register.html',
		'styles/prosilver/template/ucp_reset_password.html',
		'styles/prosilver/template/viewforum_body.html',
		'styles/prosilver/template/viewtopic_body.html',
		'styles/prosilver/theme/bidi.css',
		'styles/prosilver/theme/colours.css',
		'styles/prosilver/theme/common.css',
		'styles/prosilver/theme/content.css',
		'styles/prosilver/theme/forms.css',
		'styles/prosilver/theme/icons.css',
		'styles/prosilver/theme/images/site_logo.svg',
		'styles/prosilver/theme/print.css',
		'styles/prosilver/theme/responsive.css',
		'styles/prosilver/theme/stylesheet.css',
		'styles/prosilver/theme/tweaks.css',
		'ucp.php',
		'viewforum.php',
		'viewonline.php',
		'viewtopic.php',
	),
	'binary'		=> array(
		'images/upload_icons/flash.gif',
		'styles/prosilver/theme/images/bg_header.gif',
		'styles/prosilver/theme/images/bg_list.gif',
		'styles/prosilver/theme/images/icon_download.gif',
		'styles/prosilver/theme/images/icon_offline.gif',
		'styles/prosilver/theme/images/icon_online.gif',
		'styles/prosilver/theme/images/icon_rate_bad.gif',
		'styles/prosilver/theme/images/icon_rate_good.gif',
		'styles/prosilver/theme/images/quote.gif',
		'styles/prosilver/theme/images/quote_rtl.gif',
		'styles/prosilver/theme/images/site_logo.gif',
	),
	'deleted'		=> array(
		'assets/javascript/jquery.min.js',
		'images/upload_icons/flash.gif',
		'includes/ucp/ucp_remind.php',
		'language/en/email/user_activate_passwd.txt',
		'phpbb/cache/driver/apc.php',
		'phpbb/cache/driver/eaccelerator.php',
		'phpbb/cache/driver/memcache.php',
		'phpbb/cache/driver/xcache.php',
		'phpbb/console/command/fixup/recalculate_email_hash.php',
		'phpbb/db/driver/mysql.php',
		'phpbb/db/tools.php',
		'phpbb/profilefields/type/type_googleplus.php',
		'styles/prosilver/template/ucp_remind.html',
		'styles/prosilver/theme/images/bg_header.gif',
		'styles/prosilver/theme/images/bg_list.gif',
		'styles/prosilver/theme/images/icon_download.gif',
		'styles/prosilver/theme/images/icon_offline.gif',
		'styles/prosilver/theme/images/icon_online.gif',
		'styles/prosilver/theme/images/icon_rate_bad.gif',
		'styles/prosilver/theme/images/icon_rate_good.gif',
		'styles/prosilver/theme/images/quote.gif',
		'styles/prosilver/theme/images/quote_rtl.gif',
		'styles/prosilver/theme/images/site_logo.gif',
	),
);
