From acb935bbc5147c470b930d8835cebdc6c70706ff Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 21 Feb 2014 23:01:15 -0500 Subject: [PATCH] requiring translator in meta.js --- src/meta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta.js b/src/meta.js index fd344b460e..c1eb612744 100644 --- a/src/meta.js +++ b/src/meta.js @@ -5,6 +5,7 @@ var fs = require('fs'), nconf = require('nconf'), utils = require('./../public/src/utils'), + translator = require('./../public/src/translator'), db = require('./database'), plugins = require('./plugins'), User = require('./user'); @@ -60,7 +61,6 @@ var fs = require('fs'), // this might be a good spot to add a hook if (field === 'defaultLang') { - var translator = require('../public/src/translator'); translator.loadServer(); } });