Parent Directory | Revision Log | Patch
revision 1.1 by rodolphe, Mon Oct 17 18:14:46 2005 UTC | revision 1.2 by rodolphe, Mon Oct 17 18:17:09 2005 UTC | |
---|---|---|
# | Line 118 Function check_file($db,$dir,$file) | Line 118 Function check_file($db,$dir,$file) |
118 | $ligne = new LigneTel($db); | $ligne = new LigneTel($db); |
119 | if ($ligne->fetch($numero) == 1) | if ($ligne->fetch($numero) == 1) |
120 | { | { |
121 | print "Ligne : $numero OK\n"; | |
122 | $ok++; | |
123 | } | } |
124 | else | else |
125 | { | { |
126 | print "Ligne inconnue : $numero\n"; | print "Ligne : $numero ERREUR\n"; |
127 | } | $nok++; |
128 | } | |
129 | } | } |
130 | } | } |
131 | $line++; | $line++; |
# | Line 133 Function check_file($db,$dir,$file) | Line 134 Function check_file($db,$dir,$file) |
134 | fclose($hf); | fclose($hf); |
135 | ||
136 | return $error; | return $error; |
137 | ||
138 | print "ok : $ok\n"; | |
139 | print "erreurs : $nok\n"; | |
140 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |