From 798bace72ff05faa66f5cfdb2720450cb4b710f1 Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 25 Nov 2014 07:14:25 +0000 Subject: [PATCH] Removing unused vars --- server/helpers/build.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/helpers/build.js b/server/helpers/build.js index 0a8d407..37fc7d6 100644 --- a/server/helpers/build.js +++ b/server/helpers/build.js @@ -2,7 +2,6 @@ var fs = require('fs'), uglifyJS = require('uglify-js'), _ = require('lodash'), po2json = require('po2json'), - config = require('../configuration.js'), package_json = require('../../package.json'); var FILE_ENCODING = 'utf-8', @@ -226,7 +225,7 @@ fs.readdir(global.config.public_http + '/src/translations', function (err, trans * Build the index.html file */ var build_time = new Date().getTime(); -var base_path = config.get().http_base_path || ''; +var base_path = global.config.http_base_path || ''; // Trim off any trailing slashes if (base_path.substr(base_path.length - 1) === '/') { -- 2.25.1