* * @author Double Bastion LLC * * @license GNU AGPL version 3 or any later version * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU AFFERO GENERAL PUBLIC LICENSE for more details. * * You should have received a copy of the GNU Affero General Public * License along with this program. If not, see . * */ define('ACCESSCONST', TRUE); session_start(); if ($_SESSION['loggedtorspanel'] == true) { require('db-connect.php'); ?> Set Detections Directory
ClamAV Detections Directory
Change ClamAV Detections Directory
If the 'detections' directory where ClamAV stores the periodic scan results has been changed and is no longer the default "/srv/scripts/detections", you can set the new path and/or directory below and save it to the panel database so as to allow the panel to read the periodic scan results and display them on the Dashboard.

(Please note that ClamAV virus detections are of two kinds: 1. Detections made by periodic scanning triggered by a cron job, which are stored in the '/srv/scripts/detections' directory and are listed on the first section of the Dashboard; 2. Real-time detections which are made when an infected email arrives, when an infected file is uploaded to Nextcloud, or during an on-demand file/directory scan. The real-time detections are recorded in logs and they are listed in the periodic emails sent to the administrator by 'System Health and Security Probe'.)
query($detectionsdir); $clamavdet = $detectresult->fetch_array(); $clamavreportdir = $clamavdet[1]; ?>