From: Darren Date: Tue, 25 Nov 2014 07:14:25 +0000 (+0000) Subject: Removing unused vars X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=798bace72ff05faa66f5cfdb2720450cb4b710f1;p=KiwiIRC.git Removing unused vars --- 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) === '/') {