From 681bf270a162ed21d916f1810ab404856ed4cec1 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 23 May 2013 13:29:21 -0400 Subject: [PATCH] hotfix to path to utils --- src/notifications.js | 2 +- src/webserver.js | 2 +- src/websockets.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notifications.js b/src/notifications.js index 98d61d5294..2938b19694 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -1,7 +1,7 @@ var config = require('../config.js'), RDB = require('./redis.js'), async = require('async'), - utils = require('./utils.js'); + utils = require('../public/src/utils.js'); (function(Notifications) { Notifications.get = function(nid, callback) { diff --git a/src/webserver.js b/src/webserver.js index c5794fc316..3ffd47e01e 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -7,7 +7,7 @@ var express = require('express'), redis = require('redis'), redisServer = redis.createClient(config.redis.port, config.redis.host, config.redis.options), marked = require('marked'), - utils = require('./../public/src/utils.js'), + utils = require('../public/src/utils.js'), fs = require('fs'), user = require('./user.js'), diff --git a/src/websockets.js b/src/websockets.js index 9d0d50a5a1..14e1d9b56b 100644 --- a/src/websockets.js +++ b/src/websockets.js @@ -5,7 +5,7 @@ var SocketIO = require('socket.io').listen(global.server,{log:false}), config = require('../config.js'), user = require('./user.js'), posts = require('./posts.js'), - utils = require('./utils.js'), + utils = require('../public/src/utils.js'), topics = require('./topics.js'), categories = require('./categories.js'), notifications = require('./notifications.js'),