我对 CKFIder 很陌生,我收到了错误
出于安全原因,文件浏览器被禁用。请联系您的系统管理员并检查 CKFinder 配置文件。
我在网站上看了一下,如下所示:
http://ckeditor.com/forums/Support/file-browser-disabled-for-security-reasons。
http://ckeditor.com/forums/Support/File-browser-disabled
http://ckeditor.com/forums/Support/file-browser-disabled-for-security-reasons。
他们都在 config.php 文件中提到了一个名为 的函数checkAuthentication(),但我搜索了所有文件,但无法确定该函数。
论坛上所有其他出现相同错误的人都使用 CKFinder 2,而我找不到另一个使用 v3 出现错误的人
我确实相信它只是我忽略的一些小东西。
提前谢谢
转到 ckfinder/config.php
找到以下行
$config['authentication'] = function () {
return false;
Run Code Online (Sandbox Code Playgroud)
};
在这里将 false 变为 true。
$config['authentication'] = function () {
return true;
Run Code Online (Sandbox Code Playgroud)
};