修改重點
原始碼 FileWorkerBase.cs 中 UserFilesPath 屬性讀取優先順序:
- Application["FCKeditor:UserFilesPath"]
- Session["FCKeditor:UserFilesPath"] ← 新增,支援多使用者隔離
- Web.config AppSettings["FCKeditor:UserFilesPath"]
- 預設 "/UpLoadFiles/"
- QueryString["ServerPath"]
使用方式
使用者登入時設定:Session["FCKeditor:UserFilesPath"] = "用戶相對目錄";。確保路徑以 '/' 結尾。原始碼已附上註解說明。