Ticket #4336: mobile.diff

File mobile.diff, 597 bytes (added by jmorganson, 13 years ago)

Simply adds the iPhone to the list of recognized mobile user agents

  • includes/mobile.php

    old new  
    7575     * an empty array or approximate dimensions.
    7676     */
    7777    $mobiles = array(
     78                /* Apple's iPhone */
     79                    'iPhone'     => array('width' => 320, 'height' => 480),
    7880                /* Phones using the Series 60 platform, e.g. Nokia 3650 and 6600. */
    7981                    'Series 60'  => array('width' => 176, 'height' => 208),
    8082                    'Series60'   => array('width' => 176, 'height' => 208),