星期三, 7月 28, 2010

fdms許功蓋問題

上傳檔案後,檔案的所有者變成亂碼。
更改xoops_user資料表,將uname的欄位中,許功蓋加\
但上傳後,檔案卻顯示非該使用者的,因此也不能刪除。
將該模組的index.php中第12行
$username = ($xoopsUser)?$xoopsUser->getVar('uname'):"";
改為
$username = ($xoopsUser)?$xoopsUser->getVar('name'):"";

已解決該問題,
但這些使用者登錄時,必須加上\

沒有留言:

張貼留言

Related Posts with Thumbnails