mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
using nconf to manage config file now (issue #24)
This commit is contained in:
@@ -14,9 +14,9 @@ var user = require('./../user.js'),
|
||||
|
||||
Admin.build_header = function(res) {
|
||||
return templates['admin/header'].parse({
|
||||
cssSrc: global.config['theme:src'] || global.config.relative_path + '/vendor/bootstrap/css/bootstrap.min.css',
|
||||
cssSrc: global.config['theme:src'] || global.nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
|
||||
csrf:res.locals.csrf_token,
|
||||
relative_path: global.config.relative_path
|
||||
relative_path: global.nconf.get('relative_path')
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user