Skip to content

Instantly share code, notes, and snippets.

@edrdesigner
Created September 18, 2017 13:11
Show Gist options
  • Save edrdesigner/cf42434df17a012213a40f1d728c394c to your computer and use it in GitHub Desktop.
Save edrdesigner/cf42434df17a012213a40f1d728c394c to your computer and use it in GitHub Desktop.
<?php
$isMobile = Zend_Http_UserAgent_Mobile::match(
Mage::helper('core/http')->getHttpUserAgent(),
$_SERVER
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment