Trash: fix download.php

This commit is contained in:
Robin Appelman 2013-02-27 20:31:21 +01:00
parent d2fe600789
commit f497970e30
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ OCP\User::checkLoggedIn();
$filename = $_GET["file"]; $filename = $_GET["file"];
$view = new OC_FilesystemView('/'.\OCP\User::getUser().'/files_trashbin'); $view = new OC_FilesystemView('/'.\OCP\User::getUser().'/files_trashbin/files');
if(!$view->file_exists($filename)) { if(!$view->file_exists($filename)) {
header("HTTP/1.0 404 Not Found"); header("HTTP/1.0 404 Not Found");