From 608caf6d5eaf4fb40a84d32be4ead1b62690c644 Mon Sep 17 00:00:00 2001 From: screwloose83 Date: Sun, 11 Dec 2016 02:08:14 +1100 Subject: [PATCH] Removed unneeded time zone and comment. --- scan.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/scan.php b/scan.php index 98dcbc6..478677e 100644 --- a/scan.php +++ b/scan.php @@ -120,7 +120,6 @@ class MalwareScanner private function report($start, $dir) { -date_default_timezone_set('Australia/Melbourne'); $end = time(); echo 'Start time: ' . strftime('%Y-%m-%d %H:%M:%S', $start) . PHP_EOL; echo 'End time: ' . strftime('%Y-%m-%d %H:%M:%S', $end) . PHP_EOL; @@ -137,8 +136,6 @@ date_default_timezone_set('Australia/Melbourne'); $fileContent = file_get_contents($path); $found = false; - //$ExtraCheck = true; - // check against simple text matches $patterns = array( 'uname -a',