fixed theme previews

v1.18.x
Julian Lam 11 years ago
parent b6b795dbc6
commit 9d8aff5e63

@ -303,7 +303,7 @@ module.exports.server = server;
async.each(themes, function(themeObj, next) {
if (themeObj.screenshot) {
screenshotPath = path.join(__dirname, nconf.get('themes_dir'), themeObj.id, themeObj.screenshot);
screenshotPath = path.join(nconf.get('themes_dir'), themeObj.id, themeObj.screenshot);
(function(id, path) {
fs.exists(path, function(exists) {
if (exists) {

Loading…
Cancel
Save