Set scan method to public to allow for direct scan of single files in library mode

This commit is contained in:
PROMETEUSWEB\PrometeusWeb
2019-03-01 11:02:38 +01:00
parent 0546396d01
commit 4990f94239

View File

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