一劃
2010-11-14 14:29:59
今天發現一個好用的遠端檔案管理的工具 AjaXplorer,安裝容易,界面也簡單易懂,給他個讚 (Y)
可以在 http://www.ajaxplorer.info/ 看他詳細的功能及介紹,這裡只有記錄一下幾個要注意的事項。
必要環境: PHP-5.1 以上
安裝方法:
- 從網站抓回來目錄下,直接解開,再把內容移到你想存放的資料夾內,比如說你想要在 http://yourwebsite/fmgr/ 來使用,那就以 fmgr 命名,放到你網站的目錄下。
- 從瀏灠器的網址列輸入 http://yourwebsite/fmgr/ ,他就會告訴你,你目前的狀態和你需要調整的項目。
- 都調整完後,再進入 http://yourwebsite/fmgr/ ,就OK了,接下來就是自己的設定了。
詳細的安裝方法可以在
http://www.ajaxplorer.info/wordpress/documentation-3/chapter-basics/
看到
主要就是以下這些目錄都要能夠由瀏灠器執行時寫入。
* AJXP INSTALL/files
* AJXP INSTALL/server
* AJXP INSTALL/server/user
* AJXP INSTALL/server/logs
* AJXP INSTALL/server/conf
目前 3.03 安裝完後,會有系統診斷 (Diagnostic)出現 XML 文件錯誤,這個要手動修改
plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php 的第 693行 加入
$value = AJXP_Utils::xmlEntities($value);
參考: http://www.ajaxplorer.info/forum/discussion/1337/solved-cant-diagnostic-in-3.0.3-xml-parsing-error
不過這雖然XML錯誤沒了,但資訊卻被切掉了。
要改善這問題,可以到 server/tests/test.Writeability.php 的第79 行
$this->testedParams["Writeable Folders"] = [".implode(',<br> ', array_values($checked))."]";
改成
$this->testedParams["Writeable Folders"] = [".implode(', ', array_values($checked))."]";
或不計較有無粗體,就乾脆點
原本是在 plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php 的第 693行 加入
$value = AJXP_Utils::xmlEntities($value);
改成加入
$value = strip_tags($value);
但這不是作者的解決方法,在升級後可能要自己再改就是了,還有改 server/tests/test.Writeability.php 的方法,也是一樣,都不是原作者的做法。
