mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 04:12:18 +09:00
issue 496 when lang change to english, cmd_save lang still showed korean lang
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9657 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ed69e96191
commit
f592979ce5
1 changed files with 1 additions and 2 deletions
|
|
@ -505,10 +505,9 @@ class Context {
|
|||
}
|
||||
|
||||
function _loadPhpLang($path) {
|
||||
|
||||
if(substr($path,-1)!='/') $path .= '/';
|
||||
$path_tpl = $path.'%s.lang.php';
|
||||
$file = sprintf($path_tpl, $self->lang_type);
|
||||
$file = sprintf($path_tpl, $this->lang_type);
|
||||
|
||||
$langs = array('ko','en'); // this will be configurable.
|
||||
while(!is_readable($file) && $langs[0]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue