We should continue and not break the while() loop when an excluded folder/file was...
authorRoland Häder <roland@mxchange.org>
Thu, 12 Mar 2009 18:12:56 +0000 (18:12 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 12 Mar 2009 18:12:56 +0000 (18:12 +0000)
inc/inc-functions.php

index 14d1ab2..d67257f 100644 (file)
@@ -75,7 +75,7 @@ function GET_DIR_AS_ARRAY ($baseDir, $prefix, $includeDirs = false, $addBaseDir
                        //echo '<pre>$baseDir:'.print_r(constant('PATH') . $baseDir, true).'</pre>';
                        //echo '<pre>constant(\'PATH\'):'.print_r(constant('PATH'), true).'</pre>';
                        //echo '<pre>$FQFN:'.print_r($FQFN, true).'</pre>';
-                       break;
+                       continue;
                } // END - if
 
                // Construct include filename and FQFN