Fix: delete of documents is done by page of element, not by the view

wrapper.
This commit is contained in:
Laurent Destailleur
2012-05-29 23:50:13 +02:00
parent 446ae46557
commit 3fc3292142
27 changed files with 340 additions and 217 deletions

View File

@@ -483,7 +483,7 @@ if (preg_match('/\.\./',$original_file) || preg_match('/[<>|]/',$original_file))
exit;
}
/*
if ($action == 'remove_file') // Remove a file
{
clearstatcache();
@@ -508,7 +508,7 @@ if ($action == 'remove_file') // Remove a file
return;
}
else // Open and return file
{
{*/
clearstatcache();
$filename = basename($original_file);
@@ -540,6 +540,6 @@ else // Open and return file
//flush();
readfile($original_file_osencoded);
}
//}
?>