| | |
| | | */ |
| | | |
| | | // application constants |
| | | define('RCMAIL_VERSION', '0.1-20071210'); |
| | | define('RCMAIL_VERSION', '0.1-trunk'); |
| | | define('RCMAIL_CHARSET', 'UTF-8'); |
| | | define('JS_OBJECT_NAME', 'rcmail'); |
| | | |
| | |
| | | if ($_action != 'get' && $_action != 'viewsource') |
| | | { |
| | | // use gzip compression if supported |
| | | if (function_exists('ob_gzhandler') && ini_get('zlib.output_compression')) |
| | | if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression')) |
| | | ob_start('ob_gzhandler'); |
| | | else |
| | | ob_start(); |
| | |
| | | if ($_action=='upload') |
| | | include('program/steps/mail/upload.inc'); |
| | | |
| | | if ($_action=='compose' || $_action=='remove-attachment') |
| | | if ($_action=='compose' || $_action=='remove-attachment' || $_action=='display-attachment') |
| | | include('program/steps/mail/compose.inc'); |
| | | |
| | | if ($_action=='addcontact') |