add config to plugins load
This commit is contained in:
@@ -79,7 +79,12 @@ const pluginController = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (plugin.load && typeof plugin.load === 'function') {
|
if (plugin.load && typeof plugin.load === 'function') {
|
||||||
plugin.load({ helpers: require('../../helpers'), settings: settingsController.settings }, settings)
|
plugin.load({
|
||||||
|
helpers: require('../../helpers'),
|
||||||
|
settings: settingsController.settings,
|
||||||
|
config
|
||||||
|
},
|
||||||
|
settings)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user