diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php b/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php index 1545048..7c6d0a6 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php +++ b/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php @@ -104,11 +104,13 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule $basedir = dirname($file) . '/'; // check: files[folder] (filename|folder)* + // for package: files[folder] (file|folder)* if (isset($xml->files)) { $node = $xml->files; $dir = $basedir . (isset($node['folder']) ? $node['folder'] . '/' : ''); $this->checkFiles($node->filename, $dir); + $this->checkFiles($node->file, $dir); // for packages $this->checkFolders($node->folder, $dir); }