mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-01-29 16:38:25 +00:00
fix skipping *jamss.php
files/directories in JAMSS test
This commit is contained in:
parent
a33ff617d8
commit
9e557c4a43
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user