Ignore:
Timestamp:
Feb 4, 2013, 11:02:05 AM (11 years ago)
Author:
patdenice
Message:

bug:2835
ability detect mobile theme earlier, before plugin load

File:
1 edited

Legend:

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

    r20325 r20543  
    16221622function get_device()
    16231623{
     1624  if (session_id() == '')
     1625  {
     1626    session_start();
     1627  }
    16241628  $device = pwg_get_session_var('device');
    16251629
     
    16581662  }
    16591663
     1664  if (session_id() == '')
     1665  {
     1666    session_start();
     1667  }
     1668
    16601669  if (isset($_GET['mobile']))
    16611670  {
Note: See TracChangeset for help on using the changeset viewer.