mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updates
git-svn-id: http://www.observium.org/svn/observer/trunk@432 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -82,6 +82,10 @@ $config['enable_pseudowires'] = 0; # Enable Cisco Pseudowires
|
||||
|
||||
## Uncomment this to enable display of rancid-collected configs
|
||||
#$config['rancid_configs'] = '/var/lib/rancid/network/configs/';
|
||||
|
||||
## Uncomment this to enable usage of collectd rrds collectd hostnames must match observer hostnames!
|
||||
#$config['collectd_dir'] = '/var/lib/collectd/rrd';
|
||||
|
||||
$config['cdp_autocreate'] = false; # Should we autocreate hosts we see via CDP?
|
||||
$config['snmp_autodiscovery'] = false; # Should we scan for and autocreate hosts via snmp?
|
||||
# SNMP autodiscovery is * NOT WORKING *
|
||||
|
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
|
||||
@ini_set("session.gc_maxlifetime","10000");
|
||||
|
||||
@ini_set("session.gc_maxlifetime","0");
|
||||
|
||||
session_start();
|
||||
|
||||
if($_GET['logout']) {
|
||||
@@ -12,6 +14,8 @@ if($_GET['logout']) {
|
||||
mysql_query("INSERT INTO authlog (`user`,`address`,`result`) VALUES ('$olduser', '".$_SERVER["REMOTE_ADDR"]."', 'logged out')");
|
||||
$auth_message = "Logged Out";
|
||||
} else {
|
||||
|
||||
|
||||
if($_POST['username'] && $_POST['password']){
|
||||
$username = mres($_POST['username']);
|
||||
$password = mres($_POST['password']);
|
||||
|
Reference in New Issue
Block a user