mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Merge pull request #3446 from laf/logo-image-fix
No need for base_url here
This commit is contained in:
@@ -153,7 +153,7 @@ function getImage($device) {
|
|||||||
function getImageSrc($device) {
|
function getImageSrc($device) {
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
return $config['base_url'] . '/images/os/' . getImageName($device) . '.png';
|
return 'images/os/' . getImageName($device) . '.png';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getImageName($device, $use_database=true) {
|
function getImageName($device, $use_database=true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user