Direct Tablet PC (iPad, ...) users to full site - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Direct Tablet PC (iPad, ...) users to full site (/showthread.php?tid=48586) |
Direct Tablet PC (iPad, ...) users to full site - El Forum - 01-22-2012 [eluser]bertcarremans[/eluser] Hi, for the moment I have a mobile version of my website. I accomplished this by putting the following code in the constructor function Code: $this->load->library('user_agent'); However, I would like to redirect tablet pc users (iPad, etc) to be directed to the full site (the non-mobile version). I tried this by removing iPad from the $mobiles array in the config/user_agents.php file, but this does not work. Does anyone have an idea how to do this? Thanks! |