@@ 83-89 (lines=7) @@ | ||
80 | foreach ($files as $file) |
|
81 | { |
|
82 | // Check to see if the file is in the exclude mask. |
|
83 | if ($exclude) |
|
84 | { |
|
85 | if (preg_match(chr(1) . $exclude . chr(1), $file)) |
|
86 | { |
|
87 | continue; |
|
88 | } |
|
89 | } |
|
90 | ||
91 | // If the extension is to be stripped, do it. |
|
92 | if ($stripExt) |
@@ 78-84 (lines=7) @@ | ||
75 | foreach ($folders as $folder) |
|
76 | { |
|
77 | // Check to see if the file is in the exclude mask. |
|
78 | if ($exclude) |
|
79 | { |
|
80 | if (preg_match(chr(1) . $exclude . chr(1), $folder)) |
|
81 | { |
|
82 | continue; |
|
83 | } |
|
84 | } |
|
85 | ||
86 | $options[] = HtmlSelect::option($folder, $folder); |
|
87 | } |