fixed regression introduced by #643. Non-logo favicon is now properly

referenced (absolute url, not relative)
v1.18.x
Julian Lam 11 years ago
parent 55d008d71f
commit 538356846d

@ -90,7 +90,7 @@ var path = require('path'),
description: meta.config.description || '',
'brand:logo': meta.config['brand:logo'] || '',
'brand:logo:display': meta.config['brand:logo']?'':'hide',
'brand:favicon': meta.config['brand:favicon'] || nconf.get('relative_path') + 'favicon.ico',
'brand:favicon': meta.config['brand:favicon'] || nconf.get('relative_path') + '/favicon.ico',
browserTitle: meta.config.title || 'NodeBB',
csrf: options.res.locals.csrf_token,
relative_path: nconf.get('relative_path'),

Loading…
Cancel
Save