Karmabunny / sprout3

SproutCMS: content management and framework
http://getsproutcms.com
GNU General Public License v2.0
24 stars 3 forks source link

Fix/module loading order #116

Closed jamiemonksuk closed 5 months ago

jamiemonksuk commented 5 months ago

Rejigging loading sequence for modules to put them ahead of any system dependencies.

Loading directly in bootstrap lets us load in external admin auth systems etc, as these were previously instantiated before module loading.

Updating PhpUnit bootstrap to match

jamiemonksuk commented 5 months ago

Yeah I've been running this live for a couple of weeks, including fairly heavy unit testing. The admin auth module pre-loading concept has been working well with this.