Parcourir la source

Commented logic that seems not important

Toby Chui il y a 2 ans
Parent
commit
8d66c1a087
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      file_system.go

+ 1 - 1
file_system.go

@@ -2587,7 +2587,7 @@ func system_fs_handleList(w http.ResponseWriter, r *http.Request) {
 			}
 		} else if !strings.Contains(filepath.ToSlash(filepath.Clean(currentDir)), "/") {
 			//User root not created. Create the root folder
-			os.MkdirAll(filepath.Clean(realpath), 0775)
+			//os.MkdirAll(filepath.Clean(realpath), 0775)
 		} else {
 			//Folder not exists
 			systemWideLogger.PrintAndLog("File System", "Requested path: "+realpath+" does not exists", nil)