HAVP



  • I can't seem to get a consistent file type for the AV database files.  Sometimes the update downloads cvd files, yet other times it downloads cld files.  I can't get consistancy enough so it loads correctly on the AV database widget.  The only way I was able to accomplish it was to add both file names into the list and the one that it is, load the info, the one that is not the same, doesn't load the info.

    From:

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

    To:

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



Log in to reply