|
|
@ -129,9 +129,6 @@ var fs = require('fs'),
|
|
|
|
app.render.apply(app, arguments);
|
|
|
|
app.render.apply(app, arguments);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Deprecated as of v0.5.0, remove this hook call for NodeBB v0.6.0-1
|
|
|
|
|
|
|
|
Plugins.fireHook('action:app.load', router, middleware, controllers);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Plugins.fireHook('static:app.load', {app: app, router: router, middleware: middleware, controllers: controllers}, function() {
|
|
|
|
Plugins.fireHook('static:app.load', {app: app, router: router, middleware: middleware, controllers: controllers}, function() {
|
|
|
|
hotswap.replace('plugins', router);
|
|
|
|
hotswap.replace('plugins', router);
|
|
|
|
winston.info('[plugins] All plugins reloaded and rerouted');
|
|
|
|
winston.info('[plugins] All plugins reloaded and rerouted');
|
|
|
|