feature(cloudcmd) change logs: rm pathname, request, name; add method, data

This commit is contained in:
coderaiser 2013-10-17 15:49:36 +00:00
parent 5a9c75975e
commit fed2eccdfb
3 changed files with 7 additions and 11 deletions

View file

@ -150,9 +150,7 @@
/* added supporting of Russian language in directory names */
lPath = Querystring.unescape(lPath);
Util.log('pathname: ' + lPath);
Util.log("request for " + lPath + " received...");
Util.log(pReq.method + ': ' + lPath);
var lData = {
name : lPath,
@ -168,14 +166,11 @@
if(!lRet) {
lName = lData.name;
Util.log('reading ' + lName);
/* watching is file changed */
if(lConfig.appcache)
AppCache.watch(lName);
Util.log(Path.basename(lName));
lName = Path.join(DIR, lName);
lMin = Minify.allowed,
lExt = Util.getExtension(lName),