Changeset 159 for trunk/includes
- Timestamp:
- Mar 18, 2009, 4:31:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r158 r159 194 194 if(!array_key_exists('Pass', $_SESSION)) $_SESSION['Pass'] = ''; 195 195 196 197 //odhlášení 198 if(array_key_exists('Logout', $_GET)) 199 { 200 WriteLog('Odhlášení', 3); 201 $_SESSION['User'] = ''; 202 $_SESSION['Pass'] = ''; 203 $_SESSION['UserID'] = ''; 204 } 205 196 206 // Přihlášení 197 207 if(array_key_exists('LoginUser', $_POST)) … … 213 223 WriteLog('Login: '.$_SESSION['User'], 3); 214 224 } 215 }216 217 //odhlášení218 if(array_key_exists('Logout', $_GET))219 {220 WriteLog('Odhlášení', 3);221 $_SESSION['User'] = '';222 $_SESSION['Pass'] = '';223 $_SESSION['UserID'] = '';224 225 } 225 226
Note:
See TracChangeset
for help on using the changeset viewer.