14 require_once 
"class.ilVirusScanner.php";
 
   26                 $this->type = 
"antivir";
 
   27                 $this->scanZipFiles = 
true;
 
   38         function scanFile($a_filepath, $a_origname = 
"")
 
   50                 $this->scanFilePath = $a_filepath;
 
   51                 $this->scanFileOrigName = $a_origname;
 
   54                 $cmd = $this->scanCommand . 
" " . $a_filepath. 
" ";
 
   56                 $this->scanResult = implode(
"\n", 
$out);
 
   59                 if (ereg(
"ALERT:", $this->scanResult))
 
   61                         $this->scanFileIsInfected = 
true;
 
   67                         $this->scanFileIsInfected = 
false;
 
   72                 $this->log->write(
"ERROR (Virus Scanner failed): " 
   74                                                 . 
"; COMMAMD=" . 
$cmd);