Home > Article > Backend Development > 问大侠们一个linux下 smarty模板加载fckeditor 的问,该怎么处理
问大侠们一个linux下 smarty模板加载fckeditor 的问
我用的是linux的ubuntun版本
加载以后尽然报了一个
Forbidden
You don't have permission to access /sportsLeague/admin/fck/FCKeditor/editor/fckeditor.html on this server.
Apache/2.2.17 (Ubuntu) Server at localhost Port 80
这样的错误?很让我费解,有高人帮我解决下吗? 谢谢了
php 代码是
require("fck/FCKeditor/fckeditor.php");
$FCK=new FCKeditor("content");
$FCK->Width="540";
$FCK->Heiht="350";
$FCK->ToolbarSet="Default";
$FCK->BasePath="fck/FCKeditor/";
$editor=$FCK->CreateHtml();
$smarty->assign("editor",$editor);
$smarty->display("newsAdminAdd.html");
html代码是
新闻标题 | |
新闻内容 | {$editor} |