You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the only way for a Sprinkle to add a global middleware is to edit public/index.php. A Sprinkle should be able to register it's own middleware to avoid editing a core UF file.
version 4.1 will remodel Sprinkle bootstrap classes as Event subscribers, which means that Sprinkles can subscribe to the new onAddGlobalMiddleware event to add middleware.
Currently, the only way for a Sprinkle to add a global middleware is to edit
public/index.php
. A Sprinkle should be able to register it's own middleware to avoid editing a core UF file.This currently have an impact on this Sprinkle : https://github.com/lcharette/UF_ConfigManager#edit-indexphp
The text was updated successfully, but these errors were encountered: