diff options
author | Jayaram R Pai | 2014-07-23 16:39:32 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-07-23 16:39:32 +0530 |
commit | fc7bc9e503568faf7b666614ff2cff0124e1df63 (patch) | |
tree | 59d0189b9f91e969355b23cf0f31dfcb5c3bc3dd /download.inc | |
parent | a450d04a89ece893b180817461b2351c46ea3829 (diff) | |
download | scilab_textbook_companion-fc7bc9e503568faf7b666614ff2cff0124e1df63.tar.gz scilab_textbook_companion-fc7bc9e503568faf7b666614ff2cff0124e1df63.tar.bz2 scilab_textbook_companion-fc7bc9e503568faf7b666614ff2cff0124e1df63.zip |
fixed inital empty line on dep. download
Diffstat (limited to 'download.inc')
-rwxr-xr-x | download.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/download.inc b/download.inc index 7441442..1b27069 100755 --- a/download.inc +++ b/download.inc @@ -24,6 +24,7 @@ function textbook_companion_download_dependency_file() header('Content-Type: ' . $dependency_file_data->filemime); header('Content-disposition: attachment; filename="' . $dependency_file_data->filename . '"'); header('Content-Length: ' . filesize($root_path . $dependency_file_data->filepath)); + ob_clean(); readfile($root_path . $dependency_file_data->filepath); exit; } |