Updated footer link to use variable

This commit is contained in:
laf
2015-03-31 17:45:28 +01:00
parent 7fdd267bfc
commit 689f404d47
2 changed files with 2 additions and 1 deletions

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>

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";