From 018ba3679fc49991424c49cd60615b37de850447 Mon Sep 17 00:00:00 2001 From: Dan Untenzu Date: Wed, 18 Jan 2017 17:56:49 +0100 Subject: [PATCH] [BUGFIX] Remove redundant style fallback Remove condition for an existing theme, since a default configuration is always set. Even if this would not be the case, would the current fallback try to load a non-existing theme called "default". So remove this whole block. --- lib/template/header.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/template/header.php b/lib/template/header.php index 2b4e525..14b902e 100644 --- a/lib/template/header.php +++ b/lib/template/header.php @@ -15,17 +15,13 @@ if (!isset ($cfg['web_root'])) else $web_root = $cfg['web_root']; -if (!isset ($cfg['style'])) - $style = 'default'; -else - $style = $cfg['style']; ?> <?php echo (true === empty($cfg['title']))? t('Jirafeau, your web file repository') : $cfg['title']; ?> - + -- 2.34.1