induslady
06-09-2015, 08:34 AM
Hello,
How could I disable Default Mobile style on Tablets & iPad? Tablets are plenty large enough to view the full site without needing the mobile design. I'd like to remove the mobile accessibility feature from these gadgets.
I found the mobile redirection call in the includes/init.php file specifically the below
if (
$mobile_browser
AND
preg_match('/(ipad|ipod|iphone|blackberry|android|pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine |Windows Phone OS|htc)/i', strtolower($_SERVER['HTTP_USER_AGENT']))
)
{
$mobile_browser_advanced = true;
}
but I'm not sure how do I go about doing it.
Thanks in advance,
How could I disable Default Mobile style on Tablets & iPad? Tablets are plenty large enough to view the full site without needing the mobile design. I'd like to remove the mobile accessibility feature from these gadgets.
I found the mobile redirection call in the includes/init.php file specifically the below
if (
$mobile_browser
AND
preg_match('/(ipad|ipod|iphone|blackberry|android|pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine |Windows Phone OS|htc)/i', strtolower($_SERVER['HTTP_USER_AGENT']))
)
{
$mobile_browser_advanced = true;
}
but I'm not sure how do I go about doing it.
Thanks in advance,