Forgot php was filtering . and .. items.

This commit is contained in:
Maxim Stewart 2018-05-03 03:35:41 -05:00
parent 07a5924e6b
commit 0b607398de
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ function updateHTMLDirList(returnData) {
var images = returnData.getElementsByTagName('IMG_FILE');
var files = returnData.getElementsByTagName('FILE');
var dirImg = "resources/images/icons/folder.png";
var i = (dirPath === "./") ? i = 2 : i = 0 ; // RM . and ../ if in "root"
var i = 0;
var size = 0;
// Insert dirs