diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-03-20 22:11:35 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-03-20 22:11:35 +0000 |
| commit | 3f815cdfae00255cdce8c491dd903187904edd29 (patch) | |
| tree | a9ecf029b123235762c7c285e412af0b4b8d7e74 /roundcubemail/index.php | |
| parent | ced1cb78aaf6d732ebbcf1243c857f58828c0d22 (diff) | |
Minor improvements and bugfixes (see changelog)
git-svn-id: https://svn.roundcube.net/trunk@168 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 7443aaf81..72a682694 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -2,7 +2,7 @@ /* +-----------------------------------------------------------------------+ | RoundCube Webmail IMAP Client | - | Version 0.1-20060314 | + | Version 0.1-20060320 | | | | Copyright (C) 2005, RoundCube Dev. - Switzerland | | Licensed under the GNU GPL | @@ -40,14 +40,15 @@ */ -define('RCMAIL_VERSION', '0.1-20060220'); +define('RCMAIL_VERSION', '0.1-20060320'); // define global vars -$INSTALL_PATH = dirname($_SERVER['SCRIPT_FILENAME']); +$CHARSET = 'UTF-8'; $OUTPUT_TYPE = 'html'; $JS_OBJECT_NAME = 'rcmail'; -$CHARSET = 'UTF-8'; +$INSTALL_PATH = dirname($_SERVER['SCRIPT_FILENAME']); +$MAIN_TASKS = array('mail','settings','addressbook','logout'); if (empty($INSTALL_PATH)) $INSTALL_PATH = './'; @@ -331,11 +332,9 @@ if ($_task=='settings') } -// only allow these templates to be included -$valid_tasks = array('mail','settings','addressbook'); - // parse main template -if (in_array($_task, $valid_tasks)) +// only allow these templates to be included +if (in_array($_task, $MAIN_TASKS)) parse_template($_task); |
