govCMS / scaffold-tooling

6 stars 17 forks source link

CLAMAV_MODE can never be set to 0 #188

Closed AlexSkrypnyk closed 4 weeks ago

AlexSkrypnyk commented 2 years ago

In settings.php:

$clam_mode = getenv('CLAMAV_MODE') ?: 1;

If CLAMAV_MODE has a value of 0 (MODE_DAEMON) - the $clam_mode will always be 1.

steveworley commented 4 weeks ago

This has been updated and is obsolete as we do not support ClamAV at the moment. We will look to remove this in future.