v1.18.x
Julian Lam 7 years ago
parent b70f328520
commit 2086a64a5e

@ -26,7 +26,7 @@ module.exports = {
}
fs.access(sourcePath, function (err) {
if (err) {
if (err || path.extname(sourcePath) === '.svg') {
skip = true;
return setImmediate(next);
}
@ -46,6 +46,7 @@ module.exports = {
meta.configs.setMultiple({
'brand:logo': path.join(nconf.get('upload_path'), 'system', path.basename(meta.config['brand:logo'])),
'brand:emailLogo': '/assets/uploads/system/site-logo-x50.png',
}, next);
},
], callback);

Loading…
Cancel
Save