mirror of https://github.com/requarks/wiki
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.
18 lines
526 B
18 lines
526 B
8 years ago
|
// ===========================================
|
||
|
// REQUARKS WIKI
|
||
|
// 1.0.0
|
||
|
// Licensed under AGPLv3
|
||
|
// ===========================================
|
||
|
|
||
|
// ----------------------------------------
|
||
|
// Load modules
|
||
|
// ----------------------------------------
|
||
|
|
||
|
global.winston = require('winston');
|
||
|
winston.info('Requarks Wiki is initializing...');
|
||
|
|
||
|
global.ROOTPATH = __dirname;
|
||
|
|
||
|
var appconfig = require('./models/config')('./config.yml');
|
||
|
global.db = require('./models/db')(appconfig);
|
||
|
global.red = require('./models/redis')(appconfig);
|