Ignore:
Timestamp:
Nov 7, 2012, 10:42:28 AM (11 years ago)
Author:
patdenice
Message:

bug:2687
bug:2778
Unable to switch from mobile theme to classic theme with incompatible plugins.
Detect blackberry and symbian for mobile theme.
Update mdetect class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r18729 r18967  
    16211621    include_once(PHPWG_ROOT_PATH.'include/mdetect.php');
    16221622    $uagent_obj = new uagent_info();
    1623     if ($uagent_obj->DetectTierIphone())
     1623    if ($uagent_obj->DetectSmartphone())
    16241624    {
    16251625      $device = 'mobile';
     
    16551655    $is_mobile_theme = get_boolean($_GET['mobile']);
    16561656    pwg_set_session_var('mobile_theme', $is_mobile_theme);
    1657     unset($_GET['mobile']);
    16581657  }
    16591658  else
Note: See TracChangeset for help on using the changeset viewer.