Update antivir.class.php
This commit is contained in:
parent
db3c17668e
commit
d1d6d81f8f
@ -66,7 +66,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