Welcome Guest, Not a member yet? Register   Sign In
Code that Runs on Every Page Load
#1

[eluser]Unknown[/eluser]
I am creating a multi language app and i would like to check to see if the language code is set in a session and if it is set to use the language file but i want to have it run the code on every page load.

i am hoping there is a way i can type the block of code once and have it run every time vs having to copy and paste it to every page?

Thanks
Mike
#2

[eluser]InsiteFX[/eluser]
See the CodeIgniter User Guide on the MY_Controller




Theme © iAndrew 2016 - Forum software by © MyBB