You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
569 B
JavaScript
26 lines
569 B
JavaScript
var modules = {
|
|
user: require('./src/user.js'),
|
|
topics: require('./src/topics.js'),
|
|
posts: require('./src/posts.js'),
|
|
templates: require('./src/templates.js'),
|
|
webserver: require('./src/webserver.js'),
|
|
websockets: require('./src/websockets.js'),
|
|
fs: require('fs')
|
|
}
|
|
|
|
DEVELOPMENT = true;
|
|
|
|
|
|
global.configuration = {};
|
|
global.modules = modules;
|
|
|
|
|
|
(function(config) {
|
|
config['ROOT_DIRECTORY'] = __dirname;
|
|
|
|
modules.templates.init();
|
|
modules.websockets.init();
|
|
|
|
|
|
|
|
}(global.configuration)); |