mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
사용자 정의 언어파일이 없으면 새로 생성하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5817 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
64ba5bac08
commit
9f939e9426
1 changed files with 3 additions and 3 deletions
|
|
@ -502,9 +502,10 @@
|
|||
$site_module_info = Context::get('site_module_info');
|
||||
$cache_file = sprintf('%sfiles/cache/lang_defined/%d.%s.php', _XE_PATH_, $site_module_info->site_srl, Context::getLangType());
|
||||
if(!file_exists($cache_file)) {
|
||||
$lang = array();
|
||||
return;
|
||||
$oModuleAdminController = &getAdminController('module');
|
||||
$oModuleAdminController->makeCacheDefinedLangCode($site_module_info->site_srl);
|
||||
}
|
||||
|
||||
require_once($cache_file);
|
||||
}
|
||||
if(!Context::get($matches[1]) && $lang[$matches[1]]) return $lang[$matches[1]];
|
||||
|
|
@ -513,7 +514,6 @@
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief 파일박스에 파일 추가 및 업데이트
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue