@since: BuddyBoss 1.4.1 |
Description |
---|---|
bp_document_download_error() |
Die with an error message if the download fails. |
bp_document_download_file_redirect() |
Redirect to a file to start the download. |
bp_document_parse_file_path() |
Parse file path and see if its remote or local. |
bp_document_get_download_range() |
Parse the HTTP_RANGE request from iOS devices. |
bp_document_check_server_config() |
Check and set certain server config variables to ensure downloads work as intended. |
bp_document_clean_buffers() |
Clean all output buffers. |
bp_document_protect_download_rewite_rules() |
Protect downloads from ms-files.php in multisite. |
bp_document_prepare_attachment_for_js() |
Prepare attachment for JavaScript. |
bp_document_set_time_limit() |
Wrapper for set_time_limit to see if it is enabled. |
bp_document_mirror_text() |
Return the preview text for the document files. |