mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-18 05:18:38 +01:00
[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.
This commit is contained in:
parent
75f4119aba
commit
018ba3679f
@ -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'];
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo (true === empty($cfg['title']))? t('Jirafeau, your web file repository') : $cfg['title']; ?></title>
|
||||
<link href="<?php echo $web_root . 'media/' . $style . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo $web_root . 'media/' . $cfg['style'] . '/style.css.php'; ?>" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="lib/functions.js.php"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user