mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fix for switching back to a theme without a custom template dir
This commit is contained in:
@@ -120,8 +120,8 @@ var utils = require('./../public/src/utils.js'),
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
function(config, next) {
|
function(config, next) {
|
||||||
themeData['theme:staticDir'] = config.staticDir ? config.staticDir : false;
|
themeData['theme:staticDir'] = config.staticDir ? config.staticDir : '';
|
||||||
themeData['theme:templates'] = config.templates ? config.templates : false;
|
themeData['theme:templates'] = config.templates ? config.templates : '';
|
||||||
|
|
||||||
RDB.hmset('config', themeData, next);
|
RDB.hmset('config', themeData, next);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user