Changeset 7414 for trunk/expressoMail1_2/inc/class.user.inc.php
- Timestamp:
- 10/11/12 18:14:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.user.inc.php
r5509 r7414 50 50 return $_SESSION['phpgw_info']['expressomail']['user']['email']; 51 51 } 52 52 53 //MailArchiver login validate operations 54 function get_mailarchiver_authid(){ 55 if((isset($_COOKIE["BALANCEID"])) && ($_COOKIE["BALANCEID"] != null) && ($_COOKIE["BALANCEID"] != " ")) 56 $cookie_balancer = $_COOKIE["BALANCEID"]; 57 else 58 $cookie_balancer = ""; 59 if((isset($_COOKIE["sessionid"])) && ($_COOKIE["sessionid"] != null) && ($_COOKIE["sessionid"] != " ")) 60 $cookie_session = $_COOKIE["sessionid"]; 61 else 62 $cookie_session = ""; 63 if(isset($_SESSION['phpgw_info']['expressomail']['user']['userid']) && ($_SESSION['phpgw_info']['expressomail']['user']['userid'] != null) && ($_SESSION['phpgw_info']['expressomail']['user']['userid'] != " ")) 64 $cookie_user = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 65 else 66 $cookie_user = ""; 67 68 if(isset($_SESSION['phpgw_info']['expressomail']['user']['passwd']) && ($_SESSION['phpgw_info']['expressomail']['user']['passwd'] != null) && ($_SESSION['phpgw_info']['expressomail']['user']['passwd'] != " ")) 69 $cookie_pass = $_SESSION['phpgw_info']['expressomail']['user']['passwd']; 70 else 71 $cookie_pass = ""; 72 73 return(array($cookie_balancer, $cookie_session, $cookie_user, $cookie_pass)); 74 } 75 53 76 } 54 77 ?>
Note: See TracChangeset
for help on using the changeset viewer.