From 689f404d4796914f03281da6fff958d9cbea96d8 Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 31 Mar 2015 17:45:28 +0100 Subject: [PATCH] Updated footer link to use variable --- html/index.php | 2 +- includes/defaults.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/index.php b/html/index.php index c2fc3adcc6..e832d6589c 100755 --- a/html/index.php +++ b/html/index.php @@ -311,7 +311,7 @@ if($config['enable_footer'] == 1) {
Powered by ' . $config['project_name'].'.'); +echo('
Powered by ' . $config['project_name'].'.
'); ?>
diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php index 3df8e99323..f061cfa58d 100644 --- a/includes/defaults.inc.php +++ b/includes/defaults.inc.php @@ -102,6 +102,7 @@ if (isset($_SERVER["SERVER_NAME"]) && isset($_SERVER["SERVER_PORT"])) } $config['project_url'] = "https://github.com/librenms/"; +$config['project_home'] = 'http://www.librenms.org/'; $config['project_issues'] = "https://github.com/librenms/librenms/issues"; $config['site_style'] = "light"; // Options are dark or light $config['stylesheet'] = "css/styles.css";