mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-10 12:03:16 +02:00
closes #4252
This commit is contained in:
2
app.js
2
app.js
@@ -279,7 +279,7 @@ function upgrade() {
|
||||
|
||||
function activate() {
|
||||
require('./src/database').init(function(err) {
|
||||
var plugin = nconf.get('activate'),
|
||||
var plugin = nconf.get('_')[1] ? nconf.get('_')[1] : nconf.get('activate'),
|
||||
db = require('./src/database');
|
||||
|
||||
winston.info('Activating plugin %s', plugin);
|
||||
|
||||
Reference in New Issue
Block a user