Changeset 5037 for trunk/mobile/login.php
- Timestamp:
- 09/05/11 17:12:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mobile/login.php
r4277 r5037 158 158 $_SESSION['phpgw_info']['user']['preferences']['expressoMail'] = $preferences['expressoMail']; 159 159 160 if($_POST['save_login'] == 'yes')160 if($_POST['save_login'] === 'on') 161 161 { 162 162 // Time to keep values into cookies … … 165 165 $GLOBALS['phpgw']->session->phpgw_setcookie('pem', base64_encode($passwd), $ttl); // pem = password 166 166 } 167 start_prefered_app(); 168 } 169 } 170 elseif ($_GET['lang']) 171 { 172 $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'] = $_GET['lang']; 167 168 if( isset($GLOBALS['sessionid']) ) 169 { 170 if( $_GET['cd'] != 10 && $_GET['cd'] != 1 && $_GET['cd'] !== 'logout_mobile' && $_GET['cd'] != 66 ) 171 { 172 start_prefered_app(); 173 } 174 } 175 } 173 176 } 174 177 elseif(!isset($_COOKIE['last_loginid']) || !$prefs->account_id)
Note: See TracChangeset
for help on using the changeset viewer.