mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-26 19:31:31 +01:00
Fix: delete of documents is done by page of element, not by the view
wrapper. Conflicts: htdocs/langs/en_US/main.lang htdocs/langs/fr_FR/main.lang htdocs/projet/fiche.php
This commit is contained in:
committed by
Regis Houssin
parent
caadf396e2
commit
514babeab1
@@ -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);
|
||||
}
|
||||
//}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user