Subversion Repositories ALCASAR

Compare Revisions

Regard whitespace Rev 1674 → Rev 1675

/web/acc/manager/stats/config.php
27,11 → 27,28
//
// edit these to reflect your particular situation
//
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
$Language = strtolower(substr(chop($Langue[0]),0,2));
}
if($Language == 'fr')
{
$locale = 'fr_FR.UTF-8';
$language = 'fr';
$title = 'Traffic Internet sortant';
date_default_timezone_set("Europe/Paris");
}
else
{
$locale = 'en_US.UTF-8';
$language = 'en';
$title = 'Internet outbound';
date_default_timezone_set("Europe/London");
}
 
// list of network interfaces monitored by vnStat
$iface_list = array('eth0');
$iface_list = array('enp0s3');
 
//
// optional names for interfaces
38,7 → 55,7
// if there's no name set for an interface then the interface identifier
// will be displayed instead
//
$iface_title['eth0'] = 'Wire';
$iface_title['enp0s3'] = $title;
 
//
// There are two possible sources for vnstat data. If the $vnstat_bin
55,11 → 72,14
//
$vnstat_bin = '/usr/bin/vnstat';
$data_dir = './dumps';
$data_dir = '/var/spool/vnstat';
 
// graphics format to use: svg or png
$graph_format='svg';
// preferred byte notation. null auto chooses. otherwise use one of
// 'TB','GB','MB','KB'
$byte_notation = null;
 
// Font to use for PNG graphs
define('GRAPH_FONT',dirname(__FILE__).'/VeraBd.ttf');
 
69,4 → 89,7
// Default theme
define('DEFAULT_COLORSCHEME', 'light');
 
// SVG Depth scaling factor
define('SVG_DEPTH_SCALING', 1);
 
?>