mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1843 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9766d3a5a2
commit
2212b2893d
1 changed files with 3 additions and 2 deletions
|
|
@ -101,7 +101,7 @@
|
||||||
//////////////////
|
//////////////////
|
||||||
|
|
||||||
// rewrite 모듈사용 상태 체크
|
// rewrite 모듈사용 상태 체크
|
||||||
if(file_exists('./.htaccess')&&in_array('mod_rewrite',apache_get_modules())) $this->allow_rewrite = true;
|
if(file_exists('./.htaccess')&&(function_exists('apache_get_modules')&&in_array('mod_rewrite',apache_get_modules()))) $this->allow_rewrite = true;
|
||||||
|
|
||||||
// 상대 경로 설정
|
// 상대 경로 설정
|
||||||
$this->path = $this->getRequestUri();
|
$this->path = $this->getRequestUri();
|
||||||
|
|
@ -240,6 +240,7 @@
|
||||||
$filename = sprintf('%s%s.lang.php', $path, $this->lang_type);
|
$filename = sprintf('%s%s.lang.php', $path, $this->lang_type);
|
||||||
if(!file_exists($filename)) $filename = sprintf('%slang/%s.lang.php', $path, $this->lang_type);
|
if(!file_exists($filename)) $filename = sprintf('%slang/%s.lang.php', $path, $this->lang_type);
|
||||||
if(!file_exists($filename)) return;
|
if(!file_exists($filename)) return;
|
||||||
|
if(!is_array($this->loaded_lang_files)) $this->loaded_lang_files = array();
|
||||||
if(in_array($filename, $this->loaded_lang_files)) return;
|
if(in_array($filename, $this->loaded_lang_files)) return;
|
||||||
$this->loaded_lang_files[] = $filename;
|
$this->loaded_lang_files[] = $filename;
|
||||||
@include($filename);
|
@include($filename);
|
||||||
|
|
@ -257,7 +258,7 @@
|
||||||
* @brief lang_type을 세팅 (기본 ko)
|
* @brief lang_type을 세팅 (기본 ko)
|
||||||
**/
|
**/
|
||||||
function _setLangType($lang_type = 'ko') {
|
function _setLangType($lang_type = 'ko') {
|
||||||
$this->lang_type = $lang_type;
|
$this->lang_type = $lang_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue