fray...@hephaestos.ovh.adullact.org
unread,Jun 12, 2020, 6:20:49 AM6/12/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openmairie-...@googlegroups.com
Author: fraynaud
Date: 2020-06-12 12:20:48 +0200 (Fri, 12 Jun 2020)
New Revision: 1113
Modified:
branches/5.1.0/HISTORY.txt
branches/5.1.0/app/gestion_scan.php
Log:
correction supprimer fichier
Modified: branches/5.1.0/HISTORY.txt
===================================================================
--- branches/5.1.0/HISTORY.txt 2020-06-12 10:12:23 UTC (rev 1112)
+++ branches/5.1.0/HISTORY.txt 2020-06-12 10:20:48 UTC (rev 1113)
@@ -25,6 +25,7 @@
pb mail diffusion -> config password reset
bug sous service
+(bug) correction gestion_scan - effecer un fichier fr-11-06-2020
(bug) correction widget_diffusion_non_validee pb de lien fr-11-06-2020
(bug) correction widget_tachenonsolde pb de lien fr-11-06-2020
(+) traitement remise a 0 registre depart et arrivée fr-10-06-2020
Modified: branches/5.1.0/app/gestion_scan.php
===================================================================
--- branches/5.1.0/app/gestion_scan.php 2020-06-12 10:12:23 UTC (rev 1112)
+++ branches/5.1.0/app/gestion_scan.php 2020-06-12 10:20:48 UTC (rev 1113)
@@ -34,7 +34,7 @@
$fic="";
$fic=$dir.$valeur;
//$fic="../".$scan."/".$_SESSION['coll']."/".$_SESSION['om_utilisateur']."/".$valeur; A VOIR
- if(is_file($fic) && unlink($fic)){
+ if(is_file($fic)){ // && unlink($fic))
unlink($fic) ;
if(strtolower(substr($valeur, -4))== ".gif" or strtolower(substr($valeur, -4))==".jpg" or strtolower(substr($valeur, -5))==".jpeg" or strtolower(substr($valeur, -4))==".png") {