I'm pretty sure there is a typo here
shouldn't the is_mobile_device line read?
$is_mobile_device = ($is_wireless || $is_tablet);
$is_wireless = ($requestingDevice->getCapability('is_wireless_device') == 'true');
$is_smarttv = ($requestingDevice->getCapability('is_smarttv') == 'true');
$is_tablet = ($requestingDevice->getCapability('is_tablet') == 'true');
$is_phone = ($requestingDevice->getCapability('can_assign_phone_number') == 'true');
$is_mobile_device = ($iswireless || $istablet);
from:
http://wurfl.sourceforge.net/php_index.php
Typo in example
Re: Typo in example
You're correct - thanks for the good catch! We'll get it updated soon.
Thanks,
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Who is online
Users browsing this forum: No registered users and 2 guests