Merge pull request #49 from gallogiuseppe/master

Set scan method to public to allow for direct scan of single files in library mode
This commit is contained in:
Győrvári Gábor
2019-03-01 11:24:38 +01:00
committed by GitHub

View File

@@ -610,7 +610,7 @@ class MalwareScanner
//Loads target file contents for scanning
//Initiates the multiple scan types by calling the scanLoop function
private function scan($path)
public function scan($path)
{
$this->stat['files_scanned']++;
$fileContent = file_get_contents($path);