// Exclude '.', '..' and entries in $excludeArray automatically
if (in_array($baseFile, $excludeArray, true)) {
// Exclude them
- //* DEBUG: */ print 'excluded=' . $baseFile . '<br />';
+ //* DEBUG: */ print 'excluded=' . $baseFile . "<br />\n";
continue;
} // END - if
// Check if the base filename matches an exclusion pattern and if the pattern is not empty
if ((!empty($excludePattern)) && (preg_match($excludePattern, $baseFile, $match))) {
// These Lines are only for debugging!!
- //* DEBUG: */ print 'baseDir:' . $baseDir . '<br />';
- //* DEBUG: */ print 'baseFile:' . $baseFile . '<br />';
- //* DEBUG: */ print 'FQFN:' . $FQFN . '<br />';
+ //* DEBUG: */ print 'baseDir:' . $baseDir . "<br />\n";
+ //* DEBUG: */ print 'baseFile:' . $baseFile . "<br />\n";
+ //* DEBUG: */ print 'FQFN:' . $FQFN . "<br />\n";
// Exclude this one
continue;