mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-28 12:30:44 +00:00
Check file is correctly read
This commit is contained in:
parent
0c51f8a60b
commit
6e6b1224a0
@ -93,6 +93,12 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
|
||||
}
|
||||
|
||||
$lines = file($file);
|
||||
|
||||
if ($lines === false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$nLines = count($lines);
|
||||
$keys = array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user