Skip to content

Data from dump not working. #24

@NezumiRyu

Description

@NezumiRyu

Hi.
I think variables "$vnstat_bin" and "data_dir" in config should be default commented (or ='').
In vnstat.php in function get_vnstat_data:
if (!isset($vnstat_bin) || $vnstat_bin == '')
should be inverted to:
if (isset($vnstat_bin) && $vnstat_bin != '')
(If we have set location of dump get data from file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions