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