From 4990f942398de5594023760c2f52c982d916bd54 Mon Sep 17 00:00:00 2001 From: "PROMETEUSWEB\\PrometeusWeb" Date: Fri, 1 Mar 2019 11:02:38 +0100 Subject: [PATCH] Set scan method to public to allow for direct scan of single files in library mode --- scan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan.php b/scan.php index 35f4bd3..6bf56cf 100644 --- a/scan.php +++ b/scan.php @@ -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);