Changeset 607 in subversion
- Timestamp:
- Jun 6, 2007 5:20:29 PM (6 years ago)
- File:
-
- 1 edited
-
branches/devel-vnext/index.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/devel-vnext/index.php
r602 r607 69 69 70 70 // application constants 71 define('RCMAIL_VERSION', ' 0.1-rc1');71 define('RCMAIL_VERSION', 'devel-vnext (0.1-rc1)'); 72 72 define('RCMAIL_CHARSET', 'UTF-8'); 73 73 define('JS_OBJECT_NAME', 'rcmail'); 74 74 75 75 // define global vars 76 $OUTPUT_TYPE = 'html';76 $OUTPUT_TYPE = 'html'; 77 77 $INSTALL_PATH = dirname(__FILE__); 78 $MAIN_TASKS = array('mail','settings','addressbook','logout'); 78 $MAIN_TASKS = array( 79 'mail', 80 'settings', 81 'logout' 82 ); // addressbook 79 83 80 84 if (empty($INSTALL_PATH)) { … … 299 303 300 304 // include task specific files 301 if ($_task =='mail') {305 if ($_task == 'mail') { 302 306 include_once 'program/steps/mail/func.inc'; 303 307 … … 305 309 default: 306 310 $_name.= $_action; 311 break; 312 313 case 'check-recent': 314 $_name.= 'check_recent'; 307 315 break; 308 316 … … 341 349 342 350 // include task specific files 343 if ($_task =='addressbook') {351 if ($_task == 'addressbook') { 344 352 include_once 'program/steps/addressbook/func.inc'; 345 353 … … 362 370 363 371 // include task specific files 364 if ($_task =='settings') {372 if ($_task == 'settings') { 365 373 include_once 'program/steps/settings/func.inc'; 366 374 … … 394 402 if (file_exists($_file) === true) { 395 403 include $_file; 404 } 405 else { 406 tfk_debug('Does not exist: ' . $_file); 396 407 } 397 408 }
Note: See TracChangeset
for help on using the changeset viewer.
