From 73ca577fb812c480f8696cd504c8895ec817e943 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Mon, 7 Nov 2016 11:26:29 +0100 Subject: [PATCH] Bugfix to make logo working as wanted --- index.php | 8 ++++++-- version.php | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index edcf584..10eed90 100644 --- a/index.php +++ b/index.php @@ -55,17 +55,21 @@ include "version.php"; 0) { $logourl = BRANDMEISTERLOGO; + } } if (getDMRNetwork() == "DMRplus") { - if (defined(DMRPLUSLOGO)) + if (strlen(DMRPLUSLOGO)>0) { $logourl = DMRPLUSLOGO; + } } + if ($logourl == "") { $logourl = LOGO; } + echo $logourl; if ($logourl !== "") { ?> diff --git a/version.php b/version.php index 871de3d..f4b8aa7 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@