From f768dcaf73300a912d2bc10654a1bed5fac07a11 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 17 Jun 2003 14:36:13 +0000 Subject: [PATCH] Ajout d'une fonction pour supprimer les fichiers --- htdocs/lib/functions.inc.php3 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htdocs/lib/functions.inc.php3 b/htdocs/lib/functions.inc.php3 index b4beeeb55f5..5a94f94afdc 100644 --- a/htdocs/lib/functions.inc.php3 +++ b/htdocs/lib/functions.inc.php3 @@ -254,6 +254,14 @@ function print_titre($titre) * */ +function dol_delete_file($file) +{ + return unlink($file); +} +/* + * + * + */ function block_access() { llxHeader();