mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
36431dd296
* Security fix: unauthorized access Affects nginx users: Moved php files outside of public html directory (Apache was protected by .htaccess) Affects all users: Some files did not check for authentication and could disclose some info. Better checks before including files from user input * git mv html/includes/ includes/html git mv html/pages/ includes/html/
20 lines
295 B
PHP
20 lines
295 B
PHP
<?php
|
|
|
|
$scale_min = 0;
|
|
|
|
require 'includes/html/graphs/common.inc.php';
|
|
|
|
$graph_max = 1;
|
|
|
|
$ds = 'NumberOfConnections';
|
|
|
|
$colour_area = 'B0C4DE';
|
|
$colour_line = '191970';
|
|
|
|
$colour_area_max = 'FFEE99';
|
|
|
|
$nototal = 1;
|
|
$unit_text = 'Conns';
|
|
|
|
require 'includes/html/graphs/generic_simplex.inc.php';
|