fix for switching back to a theme without a custom template dir

v1.18.x
psychobunny 11 years ago
parent 1d5a208896
commit ca9cd36067

@ -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);
}

Loading…
Cancel
Save