Add option to auto-select the language

This commit is contained in:
Kijin Sung 2016-03-06 14:50:55 +09:00
parent a1fc0e3c3b
commit 96154c8430
7 changed files with 45 additions and 10 deletions

View file

@ -376,6 +376,7 @@ class adminAdminView extends admin
Context::set('supported_lang', Rhymix\Framework\Lang::getSupportedList());
Context::set('default_lang', Rhymix\Framework\Config::get('locale.default_lang'));
Context::set('enabled_lang', Rhymix\Framework\Config::get('locale.enabled_lang'));
Context::set('auto_select_lang', Rhymix\Framework\Config::get('locale.auto_select_lang'));
// Site title and HTML footer
$oModuleModel = getModel('module');