mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Improve time zone selection
This commit is contained in:
parent
3c8b586fac
commit
e971e7a725
4 changed files with 51 additions and 13 deletions
|
|
@ -289,11 +289,11 @@ class Context
|
|||
$this->lang_type = $this->db_info->lang_type;
|
||||
}
|
||||
|
||||
if(!$this->lang_type || !in_array($this->lang_type, $enabled_langs))
|
||||
if(!$this->lang_type || !isset($enabled_langs[$this->lang_type]))
|
||||
{
|
||||
$this->lang_type = 'ko';
|
||||
}
|
||||
|
||||
|
||||
self::setLangType($this->lang_type);
|
||||
|
||||
$this->lang = Rhymix\Framework\Lang::getInstance($this->lang_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue