• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Direct Tablet PC (iPad, ...) users to full site


for the moment I have a mobile version of my website. I accomplished this by putting the following code in the constructor function

if ($this->agent->is_mobile()) redirect('http://m.example.com/');

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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.