Prepare fix to hide images generated by "preview" feature.

This commit is contained in:
Laurent Destailleur
2014-04-29 21:14:55 +02:00
parent c08c900602
commit 19d71ffb38
26 changed files with 32 additions and 31 deletions

View File

@@ -100,7 +100,7 @@ if ($object->id > 0)
// Construit liste des fichiers
$filearray=dol_dir_list($upload_dir,"files",0,'','\.meta$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1);
$filearray=dol_dir_list($upload_dir,"files",0,'','(\.meta|_preview\.png)$',$sortfield,(strtolower($sortorder)=='desc'?SORT_DESC:SORT_ASC),1);
$totalsize=0;
foreach($filearray as $key => $file)
{