Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用codeigniter修复ckfinder错误?_Codeigniter_Ckeditor_Ckfinder - Fatal编程技术网

如何使用codeigniter修复ckfinder错误?

如何使用codeigniter修复ckfinder错误?,codeigniter,ckeditor,ckfinder,Codeigniter,Ckeditor,Ckfinder,如何修复“出于安全原因,文件浏览器被禁用。请与您的系统管理员联系并检查CKFinder配置文件。”在使用CKFinder one codeignighter站点使用ckeditor后出错您应该启用CKFinder: enabled = "false" 有关更多详细信息,请参阅本论坛: 启用CKFInder不安全。你应该采取一些安全措施来保护你的网站 有关更多信息,请点击此处: function CheckAuthentication() { return false; } 默

如何修复“出于安全原因,文件浏览器被禁用。请与您的系统管理员联系并检查CKFinder配置文件。”在使用CKFinder one codeignighter站点使用ckeditor后出错

您应该启用CKFinder:

enabled   = "false"
有关更多详细信息,请参阅本论坛:

启用CKFInder不安全。你应该采取一些安全措施来保护你的网站

有关更多信息,请点击此处:

function CheckAuthentication()
{

    return false;
}
默认情况下,
CheckAuthentication()
出于安全原因,它被禁用,因为它允许任何人将文件上载到您的服务器

出于测试目的,您可以返回
true
,但关键是您实现了一些逻辑,只授权经过身份验证的用户

function CheckAuthentication()
{
    //put some logic here

    return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized'];
}