panigrc / SimpleCiShop

A simple ecommerce system based on codeigniter [Moved to Codeberg]
https://codeberg.org/nik.lol/SimpleCiShop
MIT License
14 stars 14 forks source link

Language setting should move into session #11

Closed panigrc closed 4 years ago

panigrc commented 4 years ago

Until now the language was passed within the URI of each request.

panigrc commented 4 years ago

The _Languagelibrary upon load checks if a language is set in SESSION if not the default language is taken from the config file. Also with the Language controller we can set the current language in the SESSION.