diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-03 12:46:27 +0400 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-03 12:46:27 +0400 |
commit | 351740601a81558843a92670ad113a61f6e2f1be (patch) | |
tree | 1fab36790b5cafe288a0c37ddcf517ab6ae07aa1 /apps/files_sharing | |
parent | 80dff77b659d843994255509fe2f3204e2b6193e (diff) |
port oc_response
Diffstat (limited to 'apps/files_sharing')
-rwxr-xr-x | apps/files_sharing/get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index a741139b929..b17dc85c5ba 100755 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -68,7 +68,7 @@ if ($source !== false) { //get time mimetype and set the headers $mimetype = OC_Filesystem::getMimeType($source); header("Content-Transfer-Encoding: binary"); - OC_Response::disableCaching(); + OCP\Response::disableCaching(); header('Content-Disposition: filename="'.basename($source).'"'); header("Content-Type: " . $mimetype); header("Content-Length: " . OC_Filesystem::filesize($source)); |