vnstat-php-frontend icon indicating copy to clipboard operation
vnstat-php-frontend copied to clipboard

Data from dump not working.

Open NezumiRyu opened this issue 10 years ago • 0 comments

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)

NezumiRyu avatar Jul 09 '14 12:07 NezumiRyu