Dashboard Widget: Antivirus Status



  • I have been having problems with the dashboard widget showing the information correctly or even showing it at all.  Antivirus database isn't showing even though all of it is added in the php.

    function dwg_avbases_info()
    {
        $db  = '';
        $db .= '';
        $db .= havp_avdb_info("daily.cld");
        $db .= havp_avdb_info("main.cvd");
        $db .= havp_avdb_info("safebrowsing.cld");
        $db .= havp_avdb_info("bytecode.cld");
        $db .= '
    
    | Database | Date | Ver. | Builder |
    
    ';
        return $db;
    }
    
    

    Also, is there a way of showing the last update instead of showing "unknown".
    ![Dashboard Widget.jpg](/public/imported_attachments/1/Dashboard Widget.jpg)
    ![Dashboard Widget.jpg_thumb](/public/imported_attachments/1/Dashboard Widget.jpg_thumb)



  • Submitted fix to GitHub to fix dashboard widget.



Locked