Révision 929dfb4c
Ajouté par jim-p il y a plus de 9 ans
etc/inc/priv.defs.inc | ||
---|---|---|
992 | 992 |
$priv_list['page-status-trafficgraph']['match'] = array(); |
993 | 993 |
$priv_list['page-status-trafficgraph']['match'][] = "status_graph.php*"; |
994 | 994 |
$priv_list['page-status-trafficgraph']['match'][] = "bandwidth_by_ip.php*"; |
995 |
$priv_list['page-status-trafficgraph']['match'][] = "graph.php*"; |
|
996 |
$priv_list['page-status-trafficgraph']['match'][] = "ifstats.php*"; |
|
995 | 997 |
|
996 | 998 |
$priv_list['page-status-cpuload'] = array(); |
997 | 999 |
$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