Changeset 938 in subversion for trunk/roundcubemail/index.php


Ignore:
Timestamp:
Dec 10, 2007 10:27:19 AM (5 years ago)
Author:
thomasb
Message:

New class rcube_user + send message disposition notification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/index.php

    r882 r938  
    33 +-----------------------------------------------------------------------+ 
    44 | RoundCube Webmail IMAP Client                                         | 
    5  | Version 0.1-20071017                                                  | 
     5 | Version 0.1-20071210                                                  | 
    66 |                                                                       | 
    77 | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland                 | 
     
    4242 
    4343// application constants 
    44 define('RCMAIL_VERSION', '0.1-20071017'); 
     44define('RCMAIL_VERSION', '0.1-20071210'); 
    4545define('RCMAIL_CHARSET', 'UTF-8'); 
    4646define('JS_OBJECT_NAME', 'rcmail'); 
     
    197197 
    198198// log in to imap server 
    199 if (!empty($_SESSION['user_id']) && $_task=='mail') 
     199if (!empty($USER->ID) && $_task=='mail') 
    200200{ 
    201201  $conn = $IMAP->connect($_SESSION['imap_host'], $_SESSION['username'], decrypt_passwd($_SESSION['password']), $_SESSION['imap_port'], $_SESSION['imap_ssl']); 
     
    211211 
    212212// not logged in -> set task to 'login 
    213 if (empty($_SESSION['user_id'])) 
     213if (empty($USER->ID)) 
    214214{ 
    215215  if ($OUTPUT->ajax_call) 
     
    239239 
    240240// not logged in -> show login page 
    241 if (!$_SESSION['user_id']) 
     241if (empty($USER->ID)) 
    242242{ 
    243243  $OUTPUT->task = 'login'; 
     
    274274  if ($_action=='viewsource') 
    275275    include('program/steps/mail/viewsource.inc'); 
     276 
     277  if ($_action=='sendmdn') 
     278    include('program/steps/mail/sendmdn.inc'); 
    276279 
    277280  if ($_action=='send') 
Note: See TracChangeset for help on using the changeset viewer.