moved up trace

v1.18.x
barisusakli 10 years ago
parent e79e370e59
commit 653865a214

@ -82,6 +82,11 @@ var fs = require('fs'),
Plugins.lessFiles.length = 0;
Plugins.clientScripts.length = 0;
if (!middleware) {
var e = new Error('middleware undefined');
console.log(e.stack);
}
// Read the list of activated plugins and require their libraries
async.waterfall([
function(next) {
@ -128,11 +133,6 @@ var fs = require('fs'),
app.render.apply(app, arguments);
};
if (!middleware) {
var e = new Error('middleware undefined');
console.log(e.stack);
}
// Deprecated as of v0.5.0, remove this hook call for NodeBB v0.6.0-1
Plugins.fireHook('action:app.load', router, middleware, controllers);

Loading…
Cancel
Save