Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: The problem with storing a variable in $_SESSION in an external script
Post: The problem with storing a variable in $_SESSION i...

Hello! To update CI from 2.2.6 to 3.0.4 I used $_SESSION Through an external script I put in the $_SESSION array variable that was available in the controller after sending the data. But in version...
1,991 Views
0 Replies
02-05-2016, 01:46 AM
Iosif
    Thread: Switching controllers depending on the version of the site: mobile or desktop
Post: RE: Switching controllers depending on the version...

arma7x Wrote: (01-09-2016, 04:02 AM) -- Why not using redirect() in your controller. If you have MY_controller you can put it there instead of adding to each method in every controller. -- Yes, I h...
9,707 Views
7 Replies
01-09-2016, 04:27 AM
Iosif
    Thread: Switching controllers depending on the version of the site: mobile or desktop
Post: Switching controllers depending on the version of ...

Hello! How do I switch to a controller for a mobile version of the website in the router? $this->load->library('user_agent'); if ($this->agent->is_mobile()==TRUE) { $route['default_controll...
9,707 Views
7 Replies
01-09-2016, 02:29 AM
Iosif

Theme © iAndrew 2016 - Forum software by © MyBB