Welcome Guest, Not a member yet? Register   Sign In
Getting session status
#2

Finally i think i got it working. As i studied how this works i now have language folder in app/modules path. I removed it from root as i wasn't able to get session no matter what i tried.

I stripped some controller to bare minimum to just display my index file.

Code:
$this->load->view('index');

In my models there are all from another module but it seems not to do anything so i just leave those there for now. Maybe i could remove almost all those as well.

I added this folder to router files so it will add only language code at the end of url

example.com/es

And now i can just make a copy of that folder, rename files and add route for another language. I'm certain there would be much better way.
Reply


Messages In This Thread
Getting session status - by Hope - 03-26-2021, 12:11 PM
RE: Getting session status - by Hope - 03-29-2021, 11:01 AM
RE: Getting session status - by Hope - 04-01-2021, 10:25 PM
RE: Getting session status - by InsiteFX - 04-02-2021, 02:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB