mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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