diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index e176811ba..2261c02af 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -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]) {