mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-29 04:42:36 +00:00
Merge pull request #188 from dryabov/patch-64
Fix skipping `*jamss.php` files/directories in the JAMSS rule
This commit is contained in:
commit
e290c73f48
@ -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…
Reference in New Issue
Block a user