Changeset 607 in subversion


Ignore:
Timestamp:
Jun 6, 2007 5:20:29 PM (6 years ago)
Author:
till
Message:
  • changed version ;-)

# bugfix: check-mail wasn't working

  • disabled addressbook in $MAIN_TASKS
File:
1 edited

Legend:

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

    r602 r607  
    6969 
    7070// application constants 
    71 define('RCMAIL_VERSION', '0.1-rc1'); 
     71define('RCMAIL_VERSION', 'devel-vnext (0.1-rc1)'); 
    7272define('RCMAIL_CHARSET', 'UTF-8'); 
    7373define('JS_OBJECT_NAME', 'rcmail'); 
    7474 
    7575// define global vars 
    76 $OUTPUT_TYPE = 'html'; 
     76$OUTPUT_TYPE  = 'html'; 
    7777$INSTALL_PATH = dirname(__FILE__); 
    78 $MAIN_TASKS = array('mail','settings','addressbook','logout'); 
     78$MAIN_TASKS   = array( 
     79                    'mail', 
     80                    'settings', 
     81                    'logout' 
     82); // addressbook 
    7983 
    8084if (empty($INSTALL_PATH)) { 
     
    299303 
    300304// include task specific files 
    301 if ($_task=='mail') { 
     305if ($_task == 'mail') { 
    302306    include_once 'program/steps/mail/func.inc'; 
    303307 
     
    305309        default: 
    306310            $_name.= $_action; 
     311            break; 
     312 
     313        case 'check-recent': 
     314            $_name.= 'check_recent'; 
    307315            break; 
    308316 
     
    341349 
    342350// include task specific files 
    343 if ($_task=='addressbook') { 
     351if ($_task == 'addressbook') { 
    344352    include_once 'program/steps/addressbook/func.inc'; 
    345353 
     
    362370 
    363371// include task specific files 
    364 if ($_task=='settings') { 
     372if ($_task == 'settings') { 
    365373    include_once 'program/steps/settings/func.inc'; 
    366374 
     
    394402    if (file_exists($_file) === true) { 
    395403        include $_file; 
     404    } 
     405    else { 
     406        tfk_debug('Does not exist: ' . $_file); 
    396407    } 
    397408} 
Note: See TracChangeset for help on using the changeset viewer.