Redid tabs and added some comments for explainin'
This commit is contained in:
parent
46992803e1
commit
a0c9330afb
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue