mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +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) {
|
||||
themeData['theme:staticDir'] = config.staticDir ? config.staticDir : false;
|
||||
themeData['theme:templates'] = config.templates ? config.templates : false;
|
||||
themeData['theme:staticDir'] = config.staticDir ? config.staticDir : '';
|
||||
themeData['theme:templates'] = config.templates ? config.templates : '';
|
||||
|
||||
RDB.hmset('config', themeData, next);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user