mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-29 04:42:36 +00:00
check packages
This commit is contained in:
parent
0bf71c0950
commit
a1197006e5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user