mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
Merge branch 'master' of https://github.com/psychobunny/node-forum
This commit is contained in:
7
app.js
7
app.js
@@ -4,7 +4,8 @@ var modules = {
|
||||
posts: require('./src/posts.js'),
|
||||
templates: require('./src/templates.js'),
|
||||
webserver: require('./src/webserver.js'),
|
||||
websockets: require('./src/websockets.js')
|
||||
websockets: require('./src/websockets.js'),
|
||||
fs: require('fs')
|
||||
}
|
||||
|
||||
DEVELOPMENT = true;
|
||||
@@ -13,15 +14,11 @@ var modules = {
|
||||
global.configuration = {};
|
||||
global.modules = modules;
|
||||
|
||||
// change this to = null when auth module is complete
|
||||
// global.uid = 1;
|
||||
|
||||
|
||||
(function(config) {
|
||||
config['ROOT_DIRECTORY'] = __dirname;
|
||||
|
||||
modules.templates.init();
|
||||
// modules.webserver.init();
|
||||
modules.websockets.init();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user