diff --git a/scan.php b/scan.php index a9715a9..de3fa94 100644 --- a/scan.php +++ b/scan.php @@ -206,7 +206,7 @@ class MalwareScanner if ($toSearch[0] === '#') { continue; } - if (preg_match('/' . $toSearch . '/is', $fileContent)) { + if (preg_match('/' . $toSearch . '/im', $fileContent)) { $found = true; break; }