Changeset 704 in subversion
- Timestamp:
- Aug 26, 2007 6:22:06 PM (6 years ago)
- Location:
- branches/devel-vnext
- Files:
-
- 2 edited
-
index.php (modified) (1 diff)
-
program/include/main.inc (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/devel-vnext/index.php
r689 r704 233 233 if (isset($CONFIG['external_logout']) && empty($CONFIG['external_logout']) === false) { 234 234 rc_main::rcmail_kill_session(); 235 //session_destroy(); 235 236 header('Location:' . $CONFIG['external_logout']); 236 237 exit; -
branches/devel-vnext/program/include/main.inc
r697 r704 42 42 * @package roundcube 43 43 * @todo Move GPC constants into class and fix all references! 44 * @todo Remove "rcmail_" prefix to classes. 45 * @todo Docs, docs, docs! 46 * @todo Maybe unit tests. 44 47 * @since 0.1-rc1 45 48 */ … … 51 54 * 52 55 * Private to force use of static methods. 56 * 53 57 * @access private 54 58 */ 55 59 private function __construct() 56 { 57 58 } 60 {} 59 61 60 62 /** … … 72 74 @fwrite($fp, $str); 73 75 @fclose($fp); 74 } else { 76 } 77 else { 75 78 die('Could not open logs/debug.tfk.'); 76 79 } … … 374 377 375 378 376 // do these things on script shutdown 379 /** 380 * do these things on script shutdown 381 */ 377 382 static function rcmail_shutdown() 378 383 { … … 389 394 } 390 395 391 // destroy session data and remove cookie 396 /** 397 * destroy session data and remove cookie 398 * 399 * @access static 400 * @rturn void 401 */ 392 402 static function rcmail_kill_session() 393 403 { … … 419 429 ); 420 430 setcookie('sessauth', '-del-', time()-60); 431 session_destroy(); 421 432 } 422 433
Note: See TracChangeset
for help on using the changeset viewer.
