FriendsOfShopware / FroshPlatformHtmlMinify

This plugin allows you to minify your HTML output.
MIT License
10 stars 3 forks source link

Issue when installing via composer #6

Closed jissereitsma closed 3 years ago

jissereitsma commented 3 years ago

When installing this plugin via composer, I bumped into an issue where the autoloader of composer was reset and reinitialized. I guess this is an issue when dependencies are shipped with the plugin, but with composer, it is not needed. To fix the fatal error, this PR simply checks whether the plugin-specific autoloader file is there. If not, a simple return is given.

tinect commented 3 years ago

Hey @jissereitsma

Great catch! Could you please revert your changes in the README? I'll update it regarding others of our plugin.

Thank you!

jissereitsma commented 3 years ago

Changes to the README have been reverted. Does that mean some other installation instructions are still coming up? :)