33
2
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:
Denis Ryabov 2021-02-24 00:27:50 +03:00
parent 77ffde4f6c
commit 62a887092c
5 changed files with 1 additions and 1 deletions

View File

@ -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));