Removing unused vars
authorDarren <darren@darrenwhitlen.com>
Tue, 25 Nov 2014 07:14:25 +0000 (07:14 +0000)
committerDarren <darren@darrenwhitlen.com>
Tue, 25 Nov 2014 07:14:25 +0000 (07:14 +0000)
server/helpers/build.js

index 0a8d407d60fe4ef5bd8092f531ed46526cb01132..37fc7d6373b533744357080676c9efe39c39db81 100644 (file)
@@ -2,7 +2,6 @@ var fs           = require('fs'),
     uglifyJS     = require('uglify-js'),\r
     _            = require('lodash'),\r
     po2json      = require('po2json'),\r
-    config       = require('../configuration.js'),\r
     package_json = require('../../package.json');\r
 \r
 var FILE_ENCODING = 'utf-8',\r
@@ -226,7 +225,7 @@ fs.readdir(global.config.public_http + '/src/translations', function (err, trans
  * Build the index.html file\r
  */\r
 var build_time = new Date().getTime();\r
-var base_path = config.get().http_base_path || '';\r
+var base_path = global.config.http_base_path || '';\r
 \r
 // Trim off any trailing slashes\r
 if (base_path.substr(base_path.length - 1) === '/') {\r