換成function create_html_editor($input_name, $input_value = )
{
global $smarty;
$editor = new FCKeditor($input_name);
$editor->BasePath = ../includes/fckeditor/;
$editor->ToolbarSet = Normal;
$editor->Width = 100%;
$editor->Height = 320;
$editor->Value = $input_value;
$FCKeditor = $editor->CreateHtml();
$smarty->assign(FCKeditor, $FCKeditor);
}
然後修改kindeditro/php/上傳目錄修改includes/kindeditor/php/upload_如下:瀏覽伺服器路徑修改includes/kindeditor/php/file_manager_如下:function create_html_editor($input_name, $input_value = )
{
global $smarty;
$kindeditor="
id="$input_name" name="$input_name" style=width:700px;height:300px;>$input_value
";
$smarty->assign(FCKeditor, $kindeditor);
}
//檔案儲存目錄路徑
$save_path = $php_path . ../../../images/upload/;
//檔案儲存目錄URL
$save_url = $php_url . ../../../images/upload/;//根目錄路徑,可以指定絕對路徑,比如 /var/www/attached/
$root_path = $php_path . ../../../images/upload/;
//根目錄URL,可以指定絕對路徑,比如
$root_url = $php_url . ../../../images/upload/;