Changeset 689 in subversion for branches/devel-vnext/index.php


Ignore:
Timestamp:
Aug 15, 2007 6:32:51 PM (6 years ago)
Author:
till
Message:

+ external_logout calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-vnext/index.php

    r664 r689  
    230230// end session 
    231231else if (($_task=='logout' || $_action=='logout') && isset($_SESSION['user_id'])) { 
     232    $CONFIG = $registry->get('CONFIG', 'core'); 
     233    if (isset($CONFIG['external_logout']) && empty($CONFIG['external_logout']) === false) { 
     234        rc_main::rcmail_kill_session(); 
     235        header('Location:' . $CONFIG['external_logout']); 
     236        exit; 
     237    } 
    232238    $OUTPUT->show_message('loggedout'); 
    233239    rc_main::rcmail_kill_session(); 
Note: See TracChangeset for help on using the changeset viewer.