Explorar o código

Commented logic that seems not important

Toby Chui %!s(int64=2) %!d(string=hai) anos
pai
achega
8d66c1a087
Modificáronse 1 ficheiros con 1 adicións e 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)