From adedd872aee9c7913289c579b1b9702694af0952 Mon Sep 17 00:00:00 2001 From: pblasquez Date: Tue, 16 Feb 2016 19:46:22 -0800 Subject: [PATCH] Update graph.php --- html/graph.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html/graph.php b/html/graph.php index 99c53bd29..a3a7db529 100644 --- a/html/graph.php +++ b/html/graph.php @@ -40,8 +40,9 @@ require_once '../includes/dbFacile.php'; require_once '../includes/rewrites.php'; require_once 'includes/functions.inc.php'; require_once '../includes/rrdtool.inc.php'; -require_once 'includes/authenticate.inc.php'; - +if($config['allow_unauth_graphs'] == 0) { + require_once 'includes/authenticate.inc.php'; +} require 'includes/graphs/graph.inc.php'; $console_color = new Console_Color2();