This commit is contained in:
Rodolphe Quiedeville 2005-10-17 18:18:55 +00:00
parent 7fb140ef3b
commit fb89acae3a

View File

@ -96,6 +96,9 @@ Function check_file($db,$dir,$file)
$line = 0; $line = 0;
$hf = fopen ($dir.$file, "r"); $hf = fopen ($dir.$file, "r");
$ok = 0;
$nok = 0;
while (!feof($hf)) while (!feof($hf))
{ {
$cont = fgets($hf, 1024); $cont = fgets($hf, 1024);
@ -135,7 +138,7 @@ Function check_file($db,$dir,$file)
print "ok : $ok\n"; print "ok : $ok\n";
print "erreurs : $nok\n"; print "erreurs : $nok\n";
print "$lignes : $line\n"; print "lignes : $line\n";
return $error; return $error;