From 4971ab76e9b9f25cd1e44a62a1c0d59147d971c8 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 6 Nov 2012 06:29:18 -0500 Subject: [PATCH] minor changes --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 2c242727..f8524e8f 100644 --- a/server.js +++ b/server.js @@ -637,6 +637,7 @@ CloudServer._fillJSON = function(pStats, pFiles){ } }else{ var lQuyery = CloudServer.Queries[DirPath]; + DirPath = DirPath.substr( DirPath.lastIndexOf('/') ); DirPath += '.json'; CloudServer.Queries[DirPath] = lQuyery; /* в обычном режиме(когда js включен