Revision 8e95a671
Added by Jim Pingle almost 14 years ago
etc/inc/priv.defs.inc | ||
---|---|---|
869 | 869 |
$priv_list['page-status-trafficgraph']['descr'] = gettext("Allow access to the 'Status: Traffic Graph' page."); |
870 | 870 |
$priv_list['page-status-trafficgraph']['match'] = array(); |
871 | 871 |
$priv_list['page-status-trafficgraph']['match'][] = "status_graph.php*"; |
872 |
$priv_list['page-status-trafficgraph']['match'][] = "bandwidth_by_ip.php*"; |
|
872 | 873 |
|
873 | 874 |
$priv_list['page-status-cpuload'] = array(); |
874 | 875 |
$priv_list['page-status-cpuload']['name'] = gettext("WebCfg - Status: CPU load page"); |
usr/local/www/status_graph.php | ||
---|---|---|
40 | 40 |
##|*NAME=Status: Traffic Graph page |
41 | 41 |
##|*DESCR=Allow access to the 'Status: Traffic Graph' page. |
42 | 42 |
##|*MATCH=status_graph.php* |
43 |
##|*MATCH=bandwidth_by_ip.php* |
|
43 | 44 |
##|-PRIV |
44 | 45 |
|
45 | 46 |
require("guiconfig.inc"); |
Also available in: Unified diff
Include the rate output in the privilege for the traffic graph.