2016-11-17 6 views
6

ckeditor에서 kcfinder를 사용하고 있습니다. kcfinder의 설정 파일에 disabled to false을 변경하는 동안이 문제가되지 않습니다하지만서버를 탐색 할 수있는 권한이 없습니다?

$_SESSION['KCFINDER'] = array(
    'disabled' => false 
); 

그것을 무시에 내가 there.Message가 서버를 검색 할 수있는 권한이 없습니다 보여주는 것 팝업 & 업로드 파일을 검색 할 수 없습니다입니다. (프레임 워크에서 CI 3.x 사용)

+0

의 browse.php에이 코드를 넣어/13760367/kcfinder-you-do-not-have-have-have-have-to-the-list-the-files? rq = 1) –

+0

가능한 복제본 : http://stackoverflow.com/questions/13760367/kcfinder-you-do -not-have-permission-to-list-the-file? rq = 1 – Ronald

답변

7

시도해보십시오. [이 답변] 한 번 봐 (http://stackoverflow.com/questions를 타고 메인 index.php 파일

//$system_path = 'system'; 
$system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system'; 
//$application_folder = 'application'; 
$application_folder = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'application'; 

을 다음과 같이 변경합니다 그리고 kcfinder

ob_start(); 
require_once('../index.php'); //path to main index file edited above 
ob_end_clean(); 
$CI =& get_instance(); 
$CI->load->library('session'); 
+1

이것은 나를 위해 일했습니다. 감사합니다. browse.php –