فهرست منبع

Commented logic that seems not important

Toby Chui 2 سال پیش
والد
کامیت
8d66c1a087
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)