No changes between revisions
/trunk/dev/logger/verify_maskcodes.phps |
31,6 → 31,8 |
|
// --- |
|
$errors_found = false; |
|
$cntfiles = 0; |
$cntcodes = 0; |
$it = new RecursiveDirectoryIterator($dir); |
53,6 → 55,7 |
if (OIDplusLogger::parse_maskcode($str) === false) { |
$file = substr($file, strlen($dir)); |
echo "Invalid maskcode '$str' in file '$file'\n"; |
$errors_found = true; |
} else { |
if (VERBOSE) echo 'Valid: '.$str."\n"; |
} |
61,6 → 64,8 |
} |
echo "Done. Checked $cntcodes mask codes in $cntfiles files.\n"; |
|
exit($errors_found ? 1 : 0); |
|
# --- |
|
/** |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |