mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-12 00:06:27 +00:00
add "tgz" into a list of possible archive extensions
This commit is contained in:
parent
715b061840
commit
75e93bad90
@ -228,7 +228,7 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user