Exclude lib/swfupload from our scan paths

This commit is contained in:
Bharat Mediratta
2009-04-06 08:59:39 +00:00
parent 4041c6a0b2
commit a4d63d5a41
+1
View File
@@ -152,6 +152,7 @@ class GalleryCodeFilterIterator extends FilterIterator {
strpos($path_name, MODPATH . "unit_test") !== false ||
strpos($path_name, MODPATH . "exif/lib") !== false ||
strpos($path_name, MODPATH . "user/libraries/PasswordHash") !== false ||
strpos($path_name, DOCROOT . "lib/swfupload") !== false ||
strpos($path_name, SYSPATH) !== false ||
substr($path_name, -1, 1) == "~");
}