sunspikes / clamav-validator

Laravel virus validator based on ClamAV anti-virus scanner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: enable/disable for different env

repat opened this issue · comments

commented

Hi,

could you please put in a little functionality that enables/disables it on certain environments, e.g. we don't need it on local. So maybe a flag in the config file like 'enabled' => env('CLAMAV_ENABLED', true) that we can set via the .env file.

Thanks!

Thank you for the suggestion, its here: #27