/web/acc/manager/htdocs/stats.php |
---|
73,8 → 73,8 |
if ($config['general_stats_use_totacct'] == 'yes'){ |
$sql_val['sessions'] = 'connnum'; |
$sql_val['usage'] = 'conntotduration'; |
$sql_val['upload'] = 'inputoctets'; |
$sql_val['download'] = 'outputoctets'; |
$sql_val['upload'] = 'outputoctets'; # invert with 'inputoctets' in order to display it more logically |
$sql_val['download'] = 'intputoctets'; |
} |
else{ |
$sql_val['usage'] = 'acctsessiontime'; |