diff --git a/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php b/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php index 9be1845..b436ad5 100644 --- a/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php +++ b/administrator/components/com_jedchecker/libraries/rules/xmlfiles.php @@ -212,6 +212,17 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule $this->checkFolders($node->folder, $dir); } + // Check: api files[folder] (filename|file|folder)* + if (isset($xml->api->files)) + { + $node = $xml->api->files; + $dir = $this->getSourceFolder($node); + + $this->checkFiles($node->filename, $dir); + $this->checkFiles($node->file, $dir); + $this->checkFolders($node->folder, $dir); + } + // Check file: scriptfile if (isset($xml->scriptfile)) {