From 42f10cfda61ff3075f81b0f86f1259af02c4b95b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 17 Oct 2005 18:17:09 +0000 Subject: [PATCH] Ajout infos --- htdocs/telephonie/script/retour-check.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/htdocs/telephonie/script/retour-check.php b/htdocs/telephonie/script/retour-check.php index 7cbd9f490d4..6569a89afac 100644 --- a/htdocs/telephonie/script/retour-check.php +++ b/htdocs/telephonie/script/retour-check.php @@ -118,13 +118,14 @@ Function check_file($db,$dir,$file) $ligne = new LigneTel($db); if ($ligne->fetch($numero) == 1) { - + print "Ligne : $numero OK\n"; + $ok++; } else { - print "Ligne inconnue : $numero\n"; - } - + print "Ligne : $numero ERREUR\n"; + $nok++; + } } } $line++; @@ -133,4 +134,7 @@ Function check_file($db,$dir,$file) fclose($hf); return $error; + + print "ok : $ok\n"; + print "erreurs : $nok\n"; }