Changeset 20599
- Timestamp:
- Feb 7, 2013, 6:43:44 AM (11 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r20516 r20599 134 134 ImageStdParams::load_from_db(); 135 135 136 session_start(); 136 137 load_plugins(); 137 138 -
trunk/include/functions.inc.php
r20543 r20599 1622 1622 function get_device() 1623 1623 { 1624 if (session_id() == '')1625 {1626 session_start();1627 }1628 1624 $device = pwg_get_session_var('device'); 1629 1625 … … 1662 1658 } 1663 1659 1664 if (session_id() == '')1665 {1666 session_start();1667 }1668 1669 1660 if (isset($_GET['mobile'])) 1670 1661 { -
trunk/include/user.inc.php
r20543 r20599 27 27 if (isset($_COOKIE[session_name()])) 28 28 { 29 if (session_id() == '')30 {31 session_start();32 }33 29 if (isset($_GET['act']) and $_GET['act'] == 'logout') 34 30 { // logout … … 46 42 { 47 43 auto_login(); 48 }49 50 if (session_id()=="")51 {52 session_start();53 44 } 54 45
Note: See TracChangeset
for help on using the changeset viewer.