Merge pull request #700 from laf/footer

Updated footer link to use variable
This commit is contained in:
Daniel Preussker
2015-03-31 18:58:29 +02:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ if($config['enable_footer'] == 1) {
<div class="row">
<div class="col-md-12 text-center">
<?php
echo('<h5>Powered by <a href="http://www.librenms.org/" target="_blank" class="red">' . $config['project_name'].'</a>.</h5>');
echo('<h5>Powered by <a href="' . $config['project_home'] . '" target="_blank" class="red">' . $config['project_name'].'</a>.</h5>');
?>
</div>
</div>
+1
View File
@@ -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";