| | |
| | | $OUTPUT->set_env('compose_extwin', $RCMAIL->config->get('compose_extwin',false)); |
| | | |
| | | // mimetypes supported by the browser (default settings) |
| | | $mimetypes = $RCMAIL->config->get('client_mimetypes', 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,image/bmp,image/tiff,application/x-javascript,application/pdf,application/x-shockwave-flash'); |
| | | $mimetypes = is_string($mimetypes) ? explode(',', $mimetypes) : (array)$mimetypes; |
| | | $mimetypes = (array)$RCMAIL->config->get('client_mimetypes'); |
| | | |
| | | // Remove unsupported types, which makes that attachment which cannot be |
| | | // displayed in a browser will be downloaded directly without displaying an overlay page |