33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-05 21:07:57 +00:00

Check file is correctly read

This commit is contained in:
Denis Ryabov 2021-03-09 23:50:26 +03:00
parent 0c51f8a60b
commit 6e6b1224a0

View File

@ -93,6 +93,12 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
}
$lines = file($file);
if ($lines === false)
{
return false;
}
$nLines = count($lines);
$keys = array();