diff --git a/adduser.php b/adduser.php index af7d7c09e..87f8de48d 100755 --- a/adduser.php +++ b/adduser.php @@ -5,6 +5,8 @@ include("includes/defaults.inc.php"); include("config.php"); include("includes/functions.php"); +print_r($config); + if (file_exists('html/includes/authentication/' . $config['auth_mechanism'] . '.inc.php')) { include('html/includes/authentication/' . $config['auth_mechanism'] . '.inc.php'); diff --git a/html/pages/about.php b/html/pages/about.php index a919b8fb2..dc0ea2116 100644 --- a/html/pages/about.php +++ b/html/pages/about.php @@ -1,7 +1,7 @@

ObserverNMS

-
+

License

ObserverNMS Network Management and Monitoring System
@@ -61,7 +61,7 @@ along with this program.  If not, see htt
 
     echo("
 
-
+
@@ -124,7 +124,7 @@ print_optionbar_end(); ?> -
+
Versions
Devices$stat_devices Ports$stat_ports
- - - - + + + +
ObserverNMS$observer_versionApache$apache_version
PHP$php_versionMySQL$mysql_version
ObserverNMS$observer_version
Apache$apache_version
PHP$php_version
MySQL$mysql_version
- "); print_optionbar_end(); @@ -193,4 +192,3 @@ print_optionbar_end();
- diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php index c7d0a5aa1..909f609de 100644 --- a/includes/defaults.inc.php +++ b/includes/defaults.inc.php @@ -95,7 +95,10 @@ $config['ignore_mount_optical'] = 1; # Ignore mounted optical discs $config['device_traffic_iftype'] = array('/loopback/','/other/','/tunnel/','/virtual/','/mpls/'); $config['device_traffic_descr'] = array('/loopback/','/vlan/','/tunnel/','/:\d+/'); +# Authentication + $config['allow_unauth_graphs'] = 0; ## Allow graphs to be viewed by anyone +$config['auth_mechanism'] = "mysql"; # Auth Type. # Sensors