|
|
|
@ -101,6 +101,7 @@ function start() {
|
|
|
|
|
nconf.set('url', nconf.get('base_url') + (nconf.get('use_port') ? ':' + nconf.get('port') : '') + nconf.get('relative_path'));
|
|
|
|
|
nconf.set('upload_url', path.join(path.sep, nconf.get('relative_path'), 'uploads', path.sep));
|
|
|
|
|
nconf.set('base_dir', __dirname);
|
|
|
|
|
nconf.set('views_dir', path.join(__dirname, 'public/templates'));
|
|
|
|
|
|
|
|
|
|
winston.info('Time: ' + new Date());
|
|
|
|
|
winston.info('Initializing NodeBB v' + pkg.version);
|
|
|
|
|