Jump to content

Manual:$wgAntivirus

From mediawiki.org
Antivirus: $wgAntivirus
Internal name of virus scanner.
Introduced in version:1.5.0
Removed in version:Still in use
Allowed values:Unspecified
Default value:null

Details

Use this setting to select a virus scanner from the list in the $wgAntivirusSetup array. This serves as a key to the $wgAntivirusSetup array, e.g. 'clamav'.

If you set this variable to something other than null, and $wgAntivirusSetup is set correctly, every file uploaded will be scanned for viruses.

See also