mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-30 19:05:49 -04:00
Exclude lib/swfupload from our scan paths
This commit is contained in:
@@ -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) == "~");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user