Changeset 40d246f in github


Ignore:
Timestamp:
Feb 25, 2012 10:01:30 AM (15 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
14a3f28
Parents:
1e09cd0
Message:

Remember custom skin selection after logout (#1488355)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r965e6276 r40d246f  
    22=========================== 
    33 
     4- Remember custom skin selection after logout (#1488355) 
    45- Make sure About tab is always the last tab (#1488257) 
    56- Fix issue with folder creation under INBOX. namespace (#1488349) 
  • program/include/rcmail.php

    rfec2d8e r40d246f  
    778778    if (!$_SESSION['user_id']) 
    779779      $_SESSION['temp'] = true; 
     780 
     781    // restore skin selection after logout 
     782    if ($_SESSION['temp'] && !empty($_SESSION['skin'])) 
     783      $this->config->set('skin', $_SESSION['skin']); 
    780784  } 
    781785 
     
    12221226 
    12231227    $this->session->kill(); 
    1224     $_SESSION = array('language' => $this->user->language, 'temp' => true); 
     1228    $_SESSION = array('language' => $this->user->language, 'temp' => true, 'skin' => $this->config->get('skin')); 
    12251229    $this->user->reset(); 
    12261230  } 
Note: See TracChangeset for help on using the changeset viewer.