You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
526 B

  1. // ===========================================
  2. // REQUARKS WIKI
  3. // 1.0.0
  4. // Licensed under AGPLv3
  5. // ===========================================
  6. // ----------------------------------------
  7. // Load modules
  8. // ----------------------------------------
  9. global.winston = require('winston');
  10. winston.info('Requarks Wiki is initializing...');
  11. global.ROOTPATH = __dirname;
  12. var appconfig = require('./models/config')('./config.yml');
  13. global.db = require('./models/db')(appconfig);
  14. global.red = require('./models/redis')(appconfig);