fixed 'undefined index' notice

This commit is contained in:
tsia 2018-10-17 13:58:44 +00:00
parent db7afd4430
commit 3e554ec5c0
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ include("language.php");
<link rel="shortcut icon" href="/assets/images/favicon.ico"> <link rel="shortcut icon" href="/assets/images/favicon.ico">
<link rel="gettext" type="text/x-gettext-translation" href="/locale/<?=$locale?>/LC_MESSAGES/messages.po"> <link rel="gettext" type="text/x-gettext-translation" href="/locale/<?=$locale?>/LC_MESSAGES/messages.po">
<link rel="stylesheet" href="/assets/css/style.css" media="all"> <link rel="stylesheet" href="/assets/css/style.css" media="all">
<?php if($_COOKIE['darktheme'] == "true") <?php if(array_key_exists('darktheme', $_COOKIE) && $_COOKIE['darktheme'] == "true")
echo '<link rel="stylesheet" href="/assets/css/dark.css" media="all">'; echo '<link rel="stylesheet" href="/assets/css/dark.css" media="all">';
?> ?>
<link rel="stylesheet" href="/assets/css/fontawesome.min.css" media="all"> <link rel="stylesheet" href="/assets/css/fontawesome.min.css" media="all">