에디터 확장컴포넌트 목록 선택언어 미적용 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6040 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-04-07 07:17:55 +00:00
parent 5a99e7faec
commit a036e6a6ba

View file

@ -386,9 +386,10 @@
* @brief 에디터 컴포넌트 목록 캐시 파일 이름 return
**/
function getCacheFile($filter_enabled= true, $site_srl = 0) {
$lang = Context::getLangType();
$cache_path = _XE_PATH_.'files/cache/editor/cache/';
if(!is_dir($cache_path)) FileHandler::makeDir($cache_path);
$cache_file = $cache_path.'component_list.';
$cache_file = $cache_path.'component_list.' . $lang .'.';
if($filter_enabled) $cache_file .= 'filter.';
if($site_srl) $cache_file .= $site_srl.'.';
$cache_file .= 'php';