mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-17 18:45:16 +00:00
move dtd files to a separate directory
This commit is contained in:
parent
77ffde4f6c
commit
62a887092c
@ -133,7 +133,7 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule
|
|||||||
}
|
}
|
||||||
|
|
||||||
// load DTD-like data for this extension type
|
// load DTD-like data for this extension type
|
||||||
$json_filename = __DIR__ . '/xmlmanifest_' . $type . '.json';
|
$json_filename = __DIR__ . '/xmlmanifest/dtd_' . $type . '.json';
|
||||||
if (!is_file($json_filename))
|
if (!is_file($json_filename))
|
||||||
{
|
{
|
||||||
$this->report->addError($file, JText::sprintf('COM_JEDCHECKER_MANIFEST_TYPE_NOT_ACCEPTED', $type));
|
$this->report->addError($file, JText::sprintf('COM_JEDCHECKER_MANIFEST_TYPE_NOT_ACCEPTED', $type));
|
||||||
|
Loading…
Reference in New Issue
Block a user