projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exclude directories now
[mailer.git]
/
inc
/
wrapper-functions.php
diff --git
a/inc/wrapper-functions.php
b/inc/wrapper-functions.php
index 32ab18e167a96d05d2579c18defc13ba5049175d..0969cf0bc5579c6d4b6197fe561d0d80bb54ba78 100644
(file)
--- a/
inc/wrapper-functions.php
+++ b/
inc/wrapper-functions.php
@@
-199,7
+199,7
@@
function isDirectory ($FQFN) {
$baseName = basename($FQFN);
// Check it
$baseName = basename($FQFN);
// Check it
- $GLOBALS[__FUNCTION__][$FQFN] = ((is_dir($FQFN)) && (
$baseName != '.') && ($baseName != '..') && ($baseName != '.svn'
));
+ $GLOBALS[__FUNCTION__][$FQFN] = ((is_dir($FQFN)) && (
!in_array($baseName, array('.', '..', '.svn'))
));
} // END - if
// Return the result
} // END - if
// Return the result