revolution
revolution copied to clipboard
[3.x] Include Flysystem FTP adapter in composer.json
What does it do?
Adds missing base FTP adapter package to require block.
Why is it needed?
MODx 3 has a custom FTP adapter in the codebase and makes FTP an option as a type of media source. However, if you attempt to create an FTP source a fatal error will occur because the base package is missing.
How to test
- Run
composer updatein your base revolution directory. - Create an FTP media source, verifying it works as expected. (I created one using an open public FTP resource to keep it simple for testing.)
- To verify the fatal error, remove the change I made to composer.json, re-run
composer update, and attempt to access the manager.
Related issue(s)/PR(s)
No related issues.