minor changes

This commit is contained in:
coderaiser 2013-02-24 08:52:15 -05:00
parent 273c62291d
commit aa1a73dc7c
3 changed files with 2 additions and 3 deletions

View file

@ -23,7 +23,7 @@
REQUEST = 'request',
RESPONSE = 'response',
INDEX = main.INDEX,
INDEX = HTMLDIR + 'index.html',
CONFIG_PATH = JSONDIR + 'config.json',
FS = CloudFunc.FS;

View file

@ -114,7 +114,7 @@
* @param pFiles - array of files of current directory
*/
function fillJSON(pParams){
var lRet = checkParams(pParams, ['files', 'stats', 'path']);
var lRet = Util.checkObjTrue(pParams, ['files', 'stats', 'path']);
if(lRet)
{

View file

@ -47,7 +47,6 @@
exports.DIR = DIR = path.normalize(LIBDIR + '../'),
exports.HTMLDIR = HTMLDIR = DIR + 'html' + SLASH,
exports.JSONDIR = JSONDIR = DIR + 'json' + SLASH,
exports.INDEX = HTMLDIR + 'index.html',
/* Functions */
exports.require = mrequire,