本文介绍了您没有浏览服务器的权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用带有ckeditor的kcfinder.在kcfinder的配置文件中将 disabled设置为false
时,没有问题,但是可以使用
I am using kcfinder with ckeditor. While changing disabled to false
in config file of kcfinder there is no problem but on overriding it with
$_SESSION['KCFINDER'] = array(
'disabled' => false
);
我无法浏览&在此上传文件.弹出的消息显示您没有浏览服务器的权限.(框架使用CI 3.x.)
i am unable to browse & upload files there.Message pop up's showing you don't have permission to browse the server.(framework used CI 3.x.)
推荐答案
尝试一下.对主index.php文件进行以下更改
Try this. Make following changes to main index.php file
//$system_path = 'system';
$system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system';
//$application_folder = 'application';
$application_folder = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'application';
并将此代码放在kcfinder的browser.php中
And put this code in browse.php of kcfinder
ob_start();
require_once('../index.php'); //path to main index file edited above
ob_end_clean();
$CI =& get_instance();
$CI->load->library('session');
这篇关于您没有浏览服务器的权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!