Parent Directory | Revision Log | Patch
revision 1.3 by rodolphe, Mon Oct 17 18:18:05 2005 UTC | revision 1.4 by rodolphe, Mon Oct 17 18:18:55 2005 UTC | |
---|---|---|
# | Line 96 Function check_file($db,$dir,$file) | Line 96 Function check_file($db,$dir,$file) |
96 | $line = 0; | $line = 0; |
97 | $hf = fopen ($dir.$file, "r"); | $hf = fopen ($dir.$file, "r"); |
98 | ||
99 | $ok = 0; | |
100 | $nok = 0; | |
101 | ||
102 | while (!feof($hf)) | while (!feof($hf)) |
103 | { | { |
104 | $cont = fgets($hf, 1024); | $cont = fgets($hf, 1024); |
# | Line 135 Function check_file($db,$dir,$file) | Line 138 Function check_file($db,$dir,$file) |
138 | ||
139 | print "ok : $ok\n"; | print "ok : $ok\n"; |
140 | print "erreurs : $nok\n"; | print "erreurs : $nok\n"; |
141 | print "$lignes : $line\n"; | print "lignes : $line\n"; |
142 | return $error; | return $error; |
143 | ||
144 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |