mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
273c62291d
commit
aa1a73dc7c
3 changed files with 2 additions and 3 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
REQUEST = 'request',
|
||||
RESPONSE = 'response',
|
||||
INDEX = main.INDEX,
|
||||
INDEX = HTMLDIR + 'index.html',
|
||||
CONFIG_PATH = JSONDIR + 'config.json',
|
||||
FS = CloudFunc.FS;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue