Explorar el Código

Commented logic that seems not important

Toby Chui hace 2 años
padre
commit
8d66c1a087
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)