From f73a9e5d619a64b0e8a7ace3ec0a07e551014d8c Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 18 Oct 2011 09:36:38 +0000 Subject: [PATCH] Enregistrement des fichiers IRIS --- www/pages/iris.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/pages/iris.php b/www/pages/iris.php index f20b3ad7f..d1955bba7 100644 --- a/www/pages/iris.php +++ b/www/pages/iris.php @@ -42,6 +42,9 @@ function getDocIris($codeCommune, $format='pdf', $force=0) } else { + $fp = @fopen($fichier, "w"); + @fwrite($fp, $body); + @fclose($fp); return $page['body']; } }