Jump to content

Manual:$wgAntivirusRequired

From mediawiki.org
Antivirus: $wgAntivirusRequired
Determines if a failed virus scan will cause the file to be rejected.
Introduced in version:1.5.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:true

Details

[edit]

Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected. A "failed" scan is one that does not complete successfully for some reason. It does not necessarily mean the file contains a virus (one reason could be that the program does not have enough resources (CPU time, memory)).

If this is set to false, a failed virus scan will be ignored, as if the antivirus feature is disabled.

See also

[edit]