mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
style changes
This commit is contained in:
@@ -84,7 +84,7 @@ function checkSetupFlag(next) {
|
||||
}
|
||||
|
||||
function checkCIFlag(next) {
|
||||
var ciVals;
|
||||
var ciVals;
|
||||
try {
|
||||
ciVals = JSON.parse(nconf.get('ci'));
|
||||
} catch (e) {
|
||||
@@ -188,7 +188,7 @@ function setupDefaultConfigs(next) {
|
||||
}
|
||||
|
||||
function enableDefaultTheme(next) {
|
||||
var meta = require('./meta');
|
||||
var meta = require('./meta');
|
||||
|
||||
meta.configs.get('theme:id', function (err, id) {
|
||||
if (err || id) {
|
||||
@@ -470,7 +470,7 @@ function enableDefaultPlugins(next) {
|
||||
}
|
||||
|
||||
function setCopyrightWidget(next) {
|
||||
var db = require('./database');
|
||||
var db = require('./database');
|
||||
async.parallel({
|
||||
footerJSON: function (next) {
|
||||
fs.readFile(path.join(__dirname, '../', 'install/data/footer.json'), next);
|
||||
@@ -534,7 +534,7 @@ install.setup = function (callback) {
|
||||
};
|
||||
|
||||
install.save = function (server_conf, callback) {
|
||||
var serverConfigPath = path.join(__dirname, '../config.json');
|
||||
var serverConfigPath = path.join(__dirname, '../config.json');
|
||||
|
||||
if (nconf.get('config')) {
|
||||
serverConfigPath = path.resolve(__dirname, '../', nconf.get('config'));
|
||||
|
||||
Reference in New Issue
Block a user