CodeIgniter Forums

Full Version: define default locale in .env
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

can I suggest a small modification of the method detectLocale (IncomingRequest class) to be able to define the default locale in the .env file ? (only in the case where it is not defined in the conf file App.php)

What do you think ? 

(I develop it for my usage, so i can put it on github)