我博客前面有一篇是关于ckeditor的配置的文章,但那是急迫从网上复制下来的。由于自己写了个php程序,所以要html编辑器,老版本的fkeditor又不想用。所以就准备用ckeditor,(长沙seo)ckeditor有个缺点就是不能上传本地的图片和flash,就只好把ckeditor和ckfinder整合了。下面就开始了。
一、配置ckfinder
1、先从官网下ckeditor和ckfinder,把他们(长沙seo)解压放在网站的跟目录下,然后再把ckfinder文件放到ckeditor的文件下。
2、ckfinder没修改配置之前是不允许上传文件到服务器的,所以我们要对ckfinder文件下的config.php文件里的return false 改为return true。为了让大家能找到,这里贴出详细的代码=》
function CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your s