33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-17 18:45:16 +00:00

fix regex

This commit is contained in:
Denis Ryabov 2021-02-13 23:53:36 +03:00
parent 331a9e162f
commit 4f899fb39b

View File

@ -92,7 +92,7 @@ class JedcheckerRulesXMLManifest extends JEDcheckerRule
public function check() public function check()
{ {
// Find all XML files of the extension // 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 // Iterate through all the xml files
foreach ($files as $file) foreach ($files as $file)