ajaxplorer 2.5.5 / 2.6 한글폴더 문제

|
확인사항 아작스 폴더 및 php upload temp 디렉토리 권한에 읽기 쓰기가 들어가있어야 합니다.

첫번째

plugins/access.fs/class.fsAccessDriver.php 파일 291번줄을 (2.6버젼은 306번줄)

$dirname=Utils::processFileName(SystemTextEncoding::fromUTF8($dirname));

아래와 같이수정 (' '. 추가)
$dirname=Utils::processFileName(SystemTextEncoding::fromUTF8(' '.$dirname));

두번째

AjaxPlorer 2.55 한글 업로드 및 다운로드 가능토록 수정

Ajaxplorer

1. /server/conf/conf.php

$default_language="en"      =>> $default_language="ko" 로변경

 

2. server/classes/class.SystemTextEncoding.php

 

function getEncoding(){

...

}

 

함수 내에 setlocale(LC_CTYPE, 'ko_KR.eucKR'); 추가

ex)

function getEncoding(){
        global $_SESSION;
        // Check if the session get an assigned charset encoding (it's the case for remote SSH for example)
        if (isset($_SESSION["AJXP_CHARSET"]) && strlen($_SESSION["AJXP_CHARSET"])) return $_SESSION["AJXP_CHARSET"];
        // Get the current locale (expecting the filesystem is in the same locale, as the standard says)
        setlocale(LC_CTYPE, 'ko_KR.eucKR');  <- 이렇게 하라되어있었지만 'ko_KR.UTF-8' 로 하였음)
        return SystemTextEncoding::parseCharset(setlocale(LC_CTYPE, 0));
 }



위와같이 설정 후 꼭 서버를 리부팅해야 적용이 되더군요 ^^
참고로 ubuntu desktop 9.10 사용중입니다.

'컴터 > 리눅스' 카테고리의 다른 글

우분투 DNSEver 자동등록 스크립트  (0) 2010.05.06
아파치 대역폭 제한  (0) 2010.05.01
gui 끄기 / 콘솔모드 사용  (0) 2010.04.29
우분투 wowza media server 2 설치  (0) 2010.04.28
우분투 자바 설치  (0) 2010.04.28
And