From 11ad671fa8e8da12f241787fe757e5c825d20361 Mon Sep 17 00:00:00 2001 From: CM <5914364+ssep1ol@users.noreply.github.com> Date: Sun, 18 Apr 2021 16:00:35 +0200 Subject: [PATCH] Update UploadCommand.php --- Commands/UploadCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands/UploadCommand.php b/Commands/UploadCommand.php index b51a3c5..971b97e 100644 --- a/Commands/UploadCommand.php +++ b/Commands/UploadCommand.php @@ -129,7 +129,7 @@ class UploadCommand extends UserCommand $newfilename = strtoupper(uniqid()) . '.' . end($temp); if(rename($tempfile, $path."/".$newfilename)) { - // if($clamav->scan("/ssda1/www/portal.runpolito.it/lib/tmp/".$newfilename)) + // if($clamav->scan("".$newfilename)) // { $mime = mime_content_type($path."/".$newfilename); $extp = explode("/", $mime); @@ -188,4 +188,4 @@ class UploadCommand extends UserCommand } } -} \ No newline at end of file +}