Update antivir.class.php
This commit is contained in:
parent
751fc512af
commit
faa29f9ae0
@ -62,7 +62,7 @@ class AntiVir
|
|||||||
|
|
||||||
if (preg_match('/\.virus$/i', $file))
|
if (preg_match('/\.virus$/i', $file))
|
||||||
{
|
{
|
||||||
$this->errors='File has an extension saying file is a virus';
|
$this->errors[] = 'File has an extension saying file is a virus';
|
||||||
return -97;
|
return -97;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user