Révision 8a2f80b2
Ajouté par jim-p il y a plus de 9 ans
etc/inc/priv.defs.inc | ||
---|---|---|
1040 | 1040 |
$priv_list['page-status-trafficgraph']['match'] = array(); |
1041 | 1041 |
$priv_list['page-status-trafficgraph']['match'][] = "status_graph.php*"; |
1042 | 1042 |
$priv_list['page-status-trafficgraph']['match'][] = "bandwidth_by_ip.php*"; |
1043 |
$priv_list['page-status-trafficgraph']['match'][] = "graph.php*"; |
|
1044 |
$priv_list['page-status-trafficgraph']['match'][] = "ifstats.php*"; |
|
1043 | 1045 |
|
1044 | 1046 |
$priv_list['page-status-cpuload'] = array(); |
1045 | 1047 |
$priv_list['page-status-cpuload']['name'] = gettext("WebCfg - Status: CPU load page"); |
usr/local/www/status_graph.php | ||
---|---|---|
41 | 41 |
##|*DESCR=Allow access to the 'Status: Traffic Graph' page. |
42 | 42 |
##|*MATCH=status_graph.php* |
43 | 43 |
##|*MATCH=bandwidth_by_ip.php* |
44 |
##|*MATCH=graph.php* |
|
45 |
##|*MATCH=ifstats.php* |
|
44 | 46 |
##|-PRIV |
45 | 47 |
|
46 | 48 |
require("guiconfig.inc"); |
Formats disponibles : Unified diff
Add pages missing from the Status > Traffic Graph privilege that are required for the full page to load