Welcome Guest, Not a member yet? Register   Sign In
how to set/overwrite the config-item for "language" pre controller?
#2

[eluser]TheFuzzy0ne[/eluser]
I don't understand why this won't work by overriding the controller class. Are you sure you've overridden it correctly?

If it were me, I'd probably add a little logic to the config file, which would check the subdomain, and set the config item accordingly. This is the earliest available opportunity to do this, since the default language is defined in the config file, so it makes sense to configure it as the file is loaded.


Messages In This Thread
how to set/overwrite the config-item for "language" pre controller? - by El Forum - 07-03-2009, 07:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB