/web/acc/manager/htdocs/security.php |
---|
102,7 → 102,8 |
<?php |
} else if ($tab === 2) { |
$filePath = '/var/log/clamav/clamd.log'; |
$lines = file($filePath); |
$pattern = "/\bfound\b/i"; |
$lines = preg_grep ($pattern, file($filePath)); |
if ($lines === false) { |
exit("Cannot open '$filePath'."); |
} |