mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-01-17 11:03:56 +00:00
check fonts in language package
This commit is contained in:
parent
a34f3bd138
commit
3e03b981e8
@ -119,6 +119,15 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule
|
|||||||
$this->checkFolders($node->folder, $dir);
|
$this->checkFolders($node->folder, $dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check: fonts[folder] (filename|folder)*
|
||||||
|
if (isset($xml->fonts))
|
||||||
|
{
|
||||||
|
$node = $xml->fonts;
|
||||||
|
$dir = $basedir . (isset($node['folder']) ? $node['folder'] . '/' : '');
|
||||||
|
$this->checkFiles($node->filename, $dir);
|
||||||
|
$this->checkFolders($node->folder, $dir);
|
||||||
|
}
|
||||||
|
|
||||||
// Check files: languages[folder] language*
|
// Check files: languages[folder] language*
|
||||||
if (isset($xml->languages))
|
if (isset($xml->languages))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user