mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@2248 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -124,6 +124,12 @@ $config['show_overview_tab'] = true;
|
||||
|
||||
$config['overview_show_sysDescr'] = true;
|
||||
|
||||
### Enable version checker & stats
|
||||
|
||||
$config['version_check'] = 1; # Enable checking of version in discovery
|
||||
# and submittal of basic stats used
|
||||
# to prioritise development effort :)
|
||||
|
||||
### Poller/Discovery Modules
|
||||
|
||||
$config['enable_bgp'] = 1; # Enable BGP session collection and display
|
||||
|
||||
@@ -884,7 +884,18 @@ if (isset($config['enable_printers']) && $config['enable_printers'])
|
||||
# No changes below this line #
|
||||
##############################
|
||||
|
||||
$config['version'] = "0.11";
|
||||
$config['version'] = "0.11.5.2245";
|
||||
|
||||
if (file_exists('.svn/entries'))
|
||||
{
|
||||
$svn = File('.svn/entries');
|
||||
$svn_rev = trim($svn[3]);
|
||||
list($svn_date) = explode("T", trim($svn[9]));
|
||||
list($svn_year, $svn_month, $svn_day) = explode("-", $svn_date);
|
||||
$config['version'] = "0." . ($svn_year-2000) . "." . ($svn_month+0) . "." . $svn_rev;
|
||||
} else {
|
||||
$config['version'] = $config['version'] . "." . $config['release'];
|
||||
}
|
||||
|
||||
if (isset($config['rrdgraph_def_text']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user