You are here

function file_resup_plain_output in File Resumable Upload 8

Same name and namespace in other branches
  1. 7 file_resup.module \file_resup_plain_output()

Returns data as plain text.

1 call to file_resup_plain_output()
file_resup_upload in ./file_resup.module
Menu callback to upload a file chunk.

File

./file_resup.module, line 216

Code

function file_resup_plain_output($text = '') {
  drupal_page_is_cacheable(FALSE);
  drupal_add_http_header('Content-Type', 'text/plain');
  echo $text;
}