humanmade/hm-platform

Add autoloader.php

Opened this issue · 2 comments

The autoloader class should live in hm-platform rather than hm-base.

Compatibility with this may be a little tricky, due to the proliferation of the file. We should only load if plugins-mu/autoloader.php doesn't exist (maybe we need to check other files too).

Just ran into this too

Added a class_exists check while working on hm-base, so we should be able to transition over. We'll still need a manual check for plugins-mu/autoloader.php I think for legacy sites, unless we just delete the file when we update hm-platform there.