From 410e825bc0c7f41f0a0ecad311ae0263bf4dd5a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 11 Oct 2017 17:52:03 -0400 Subject: [PATCH] fix upgrade script changing brand:logo to absolute path --- src/upgrades/1.6.0/generate-email-logo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrades/1.6.0/generate-email-logo.js b/src/upgrades/1.6.0/generate-email-logo.js index 0e95c3b384..6115e773a1 100644 --- a/src/upgrades/1.6.0/generate-email-logo.js +++ b/src/upgrades/1.6.0/generate-email-logo.js @@ -45,7 +45,7 @@ module.exports = { } meta.configs.setMultiple({ - 'brand:logo': path.join(nconf.get('upload_path'), 'system', path.basename(meta.config['brand:logo'])), + 'brand:logo': path.join('/assets/uploads/system', path.basename(meta.config['brand:logo'])), 'brand:emailLogo': '/assets/uploads/system/site-logo-x50.png', }, next); },