'use strict';
var fs = require('fs')


/**
 * Home Page
 * @param {object} req
 * @param {object} res
 */
exports.index = function(req,res){
  res.render('index',{
    logContent: fs.readFileSync(config.ckpool.logFile)
  })
}
@@ -31,16 +31,54 @@
 ('fs')%0A%0A
+var config = require('../../config')%0A%0A
 %0A/**%0A * 

fix missing include for config