33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2025-01-05 23:40:41 +00:00

add "tgz" into a list of possible archive extensions

This commit is contained in:
Denis Ryabov 2021-03-10 00:39:18 +03:00
parent 715b061840
commit 75e93bad90

View File

@ -228,7 +228,7 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule
} }
// Extra check for unzipped files // Extra check for unzipped files
if (preg_match('/^(.*)\.(zip|tar\.gz)$/', $filename, $matches) && is_dir($matches[1])) if (preg_match('/^(.*)\.(zip|tgz|tar\.gz)$/', $filename, $matches) && is_dir($matches[1]))
{ {
continue; continue;
} }