From: Dan Untenzu Date: Wed, 18 Jan 2017 16:56:49 +0000 (+0100) Subject: [BUGFIX] Remove redundant style fallback X-Git-Tag: 3.0.0~29 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/018ba3679fc49991424c49cd60615b37de850447 [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. --- 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']; ?> - +