~tim-alwaysreformed/reformedchurcheslocator/rcl-backbone-test_for_directory_type

« back to all changes in this revision

Viewing changes to config.js

  • Committer: Tim Black
  • Date: 2012-07-23 21:59:03 UTC
  • Revision ID: tim@alwaysreformed.com-20120723215903-rgjhrh9ojf132cnp
Maybe fixed Node changes listener loop

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// Configure application-wide configuration settings here
2
2
 
3
 
exports.debug = true; // turn log() on or off
 
 
b'\\ No newline at end of file'
 
3
var fs = require('fs'),
 
4
        get_db = require('./lib').get_db;
 
5
 
 
6
// Export configuration settings
 
7
exports.debug = false; // true or false; turns log() on or off
 
8
exports.port = fs.readFileSync('./port.txt', 'ascii').trim();
 
9
exports.auth = fs.readFileSync('./auth.txt', 'ascii').trim();
 
10
exports.db = get_db(exports.port);
 
 
b'\\ No newline at end of file'