Welcome Guest, Not a member yet? Register   Sign In
Set config before language is autoloaded
#8

[eluser]TheFuzzy0ne[/eluser]
No, it was to add some logic to the config file itself.

For example, if the language was the first segment of the URI, you could do something like this in your config file:
Code:
$CI =& get_instance();
$config['language'] = $CI->uri->segment(1);


Messages In This Thread
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:19 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:24 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:25 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:27 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:37 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:37 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:40 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:42 PM
Set config before language is autoloaded - by El Forum - 02-23-2009, 03:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB