fix skipping `*jamss.php` files/directories in JAMSS test

This commit is contained in:
Denis Ryabov 2022-08-03 16:41:23 +03:00
parent a33ff617d8
commit 9e557c4a43
1 changed files with 1 additions and 2 deletions

View File

@ -324,8 +324,7 @@ class JedcheckerRulesJamss extends JEDcheckerRule
*/
if (in_array(pathinfo($path, PATHINFO_EXTENSION), $ext)
&& filesize($path)/* skip empty ones */
&& !stripos($path, 'jamss.php')/* skip this file */)
&& filesize($path)/* skip empty ones */)
{
if ($malic_file_descr = array_search(pathinfo($path, PATHINFO_BASENAME), $jamssFileNames))
{