Redid tabs and added some comments for explainin'

This commit is contained in:
Bram van der Veen 2015-06-16 15:26:12 +02:00
parent 46992803e1
commit a0c9330afb

View file

@ -4,6 +4,7 @@ var fs = require('fs');
//Function for loading and returning the settings.json file, makes one if there isn't one. //Function for loading and returning the settings.json file, makes one if there isn't one.
module.exports = function () { module.exports = function () {
if (!fs.existsSync(__dirname + '/settings.json')) { if (!fs.existsSync(__dirname + '/settings.json')) {
//Template for settings.json if not available.
var settings = { var settings = {
'env' : 'dev', 'env' : 'dev',
'database' : 'example.com/database', 'database' : 'example.com/database',