關(guān)于FCKeditor2.6 圖片文件上傳路徑設(shè)置問題
FCKeditor2.6編輯器自帶有圖片及文件上傳功能,本機調(diào)試正常,但上傳到虛擬主機或者網(wǎng)站服務(wù)器上時會出來圖片路徑出錯現(xiàn)象,本文主要針對PHP配置FCKeditor2.6圖片路徑問題
圖片文件上傳路徑設(shè)置:
fckeditor\editor\filemanager\connectors\php\config.php
$Config['Enabled'] = true ; //開啟圖片文件上傳功能
$Config['UserFilesPath'] = '/wbc/uppic/' ; //設(shè)置圖片上傳的路徑,也可設(shè)置為相對路徑
$Config['UserFilesAbsolutePath'] = '/usr/vhome/c/www/wbc/uppic/' ;//圖片上傳絕對路徑,可通過PHPINFO取得虛擬主機上的絕對路徑
關(guān)于FCKeditor2.6的詳細配置問題,限制上傳圖片文件大小;請查看文章:http://www.sw996.com/seoblog/article104.html