[Options] Load the default language setting

这个提交包含在:
Peter Goodhall 2021-01-31 13:25:44 +00:00
父节点 67ba28d145
当前提交 4770340c45

查看文件

@ -31,11 +31,15 @@ class OptionsLib {
* Add option to the config system dynamicly option_name is prefixed by option_
* you can then call $this->config->item('option_<option_name>') to get the item.
*/
if($item->option_name == "language") {
// language is a global internal config item there for we dont want to prefix it as an option
$CI->config->set_item($item->option_name, $item->option_value);
} else {
$CI->config->set_item('option_'.$item->option_name, $item->option_value);
}
}
}
}
// This returns a options value based on its name
function get_option($option_name) {