Changeset 938 in subversion for trunk/roundcubemail/index.php
- Timestamp:
- Dec 10, 2007 10:27:19 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/index.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/index.php
r882 r938 3 3 +-----------------------------------------------------------------------+ 4 4 | RoundCube Webmail IMAP Client | 5 | Version 0.1-20071 017|5 | Version 0.1-20071210 | 6 6 | | 7 7 | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland | … … 42 42 43 43 // application constants 44 define('RCMAIL_VERSION', '0.1-20071 017');44 define('RCMAIL_VERSION', '0.1-20071210'); 45 45 define('RCMAIL_CHARSET', 'UTF-8'); 46 46 define('JS_OBJECT_NAME', 'rcmail'); … … 197 197 198 198 // log in to imap server 199 if (!empty($ _SESSION['user_id']) && $_task=='mail')199 if (!empty($USER->ID) && $_task=='mail') 200 200 { 201 201 $conn = $IMAP->connect($_SESSION['imap_host'], $_SESSION['username'], decrypt_passwd($_SESSION['password']), $_SESSION['imap_port'], $_SESSION['imap_ssl']); … … 211 211 212 212 // not logged in -> set task to 'login 213 if (empty($ _SESSION['user_id']))213 if (empty($USER->ID)) 214 214 { 215 215 if ($OUTPUT->ajax_call) … … 239 239 240 240 // not logged in -> show login page 241 if ( !$_SESSION['user_id'])241 if (empty($USER->ID)) 242 242 { 243 243 $OUTPUT->task = 'login'; … … 274 274 if ($_action=='viewsource') 275 275 include('program/steps/mail/viewsource.inc'); 276 277 if ($_action=='sendmdn') 278 include('program/steps/mail/sendmdn.inc'); 276 279 277 280 if ($_action=='send')
Note: See TracChangeset
for help on using the changeset viewer.
