33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-27 23:36:38 +00:00

fix regex

This commit is contained in:
Denis Ryabov 2021-02-13 23:56:59 +03:00
parent a206aa91ba
commit 0bf71c0950

View File

@ -63,7 +63,7 @@ class JedcheckerRulesXMLFiles extends JEDcheckerRule
public function check()
{
// Find all XML files of the extension
$files = JFolder::files($this->basedir, '.xml$', true, true);
$files = JFolder::files($this->basedir, '\.xml$', true, true);
// Iterate through all the xml files
foreach ($files as $file)