diff --git a/composer.json b/composer.json index aa3c36fe..0e347200 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "lstrojny/functional-php": "^1.8", "mikehaertl/phpwkhtmltopdf": "^2.2", "monolog/monolog": "^1.21", - "shlinkio/shlink-installer": "^1.0", + "shlinkio/shlink-installer": "^1.1", "symfony/console": "^4.2", "symfony/filesystem": "^4.2", "symfony/lock": "^4.2", diff --git a/config/autoload/installer.global.php b/config/autoload/installer.global.php new file mode 100644 index 00000000..b258585e --- /dev/null +++ b/config/autoload/installer.global.php @@ -0,0 +1,39 @@ + [ + Plugin\LanguageConfigCustomizer::class => [ + Plugin\LanguageConfigCustomizer::DEFAULT_LANG, + ], + + Plugin\UrlShortenerConfigCustomizer::class => [ + Plugin\UrlShortenerConfigCustomizer::SCHEMA, + Plugin\UrlShortenerConfigCustomizer::HOSTNAME, + Plugin\UrlShortenerConfigCustomizer::CHARS, + Plugin\UrlShortenerConfigCustomizer::VALIDATE_URL, + Plugin\UrlShortenerConfigCustomizer::ENABLE_NOT_FOUND_REDIRECTION, + Plugin\UrlShortenerConfigCustomizer::NOT_FOUND_REDIRECT_TO, + ], + + Plugin\ApplicationConfigCustomizer::class => [ + Plugin\ApplicationConfigCustomizer::SECRET, + Plugin\ApplicationConfigCustomizer::DISABLE_TRACK_PARAM, + Plugin\ApplicationConfigCustomizer::CHECK_VISITS_THRESHOLD, + Plugin\ApplicationConfigCustomizer::VISITS_THRESHOLD, + ], + + Plugin\DatabaseConfigCustomizer::class => [ + Plugin\DatabaseConfigCustomizer::DRIVER, + Plugin\DatabaseConfigCustomizer::NAME, + Plugin\DatabaseConfigCustomizer::USER, + Plugin\DatabaseConfigCustomizer::PASSWORD, + Plugin\DatabaseConfigCustomizer::HOST, + Plugin\DatabaseConfigCustomizer::PORT, + ], + ], + +];