|
|
@@ -6,14 +6,14 @@
|
|
|
<title><?php echo $_SERVER['HTTP_HOST']; ?> - <?=_($TAB)?> - <?=_('Hestia Control Panel');?></title>
|
|
|
<!-- Load base system theme-->
|
|
|
<link type="text/css" rel="stylesheet" href="/css/themes/default.min.css?<?=JS_LATEST_UPDATE?>" rel="preload" />
|
|
|
- <? if ($_SESSION['userTheme']) {
|
|
|
+ <? if (!empty($_SESSION['userTheme'])) {
|
|
|
$selected_theme = $_SESSION['userTheme'];
|
|
|
} else {
|
|
|
- $seleced_theme = $_SESSION['THEME'];
|
|
|
+ $selected_theme = $_SESSION['THEME'];
|
|
|
}
|
|
|
?>
|
|
|
<!-- Load custom theme -->
|
|
|
- <? if (($_SESSION['THEME'] !== 'default') || ($_SESSION['userTheme'] !== 'default')) {?>
|
|
|
+ <? if ($selectedTheme !== 'default') {?>
|
|
|
<!-- Load HestiaCP-shipped themes (minified, updated/overwritten with updates) - ($HESTIA/web/css/themes/*.min.css) -->
|
|
|
<link type="text/css" rel="stylesheet" href="/css/themes/<?php echo $selected_theme; ?>.min.css?<?php echo rand(); ?>" rel="preload" />
|
|
|
<!-- Load custom theme files ($HESTIA/web/css/themes/custom/*.css) -->
|
|
|
@@ -37,7 +37,7 @@
|
|
|
</head>
|
|
|
<body class="body-<?=strtolower($TAB)?> lang-<?=$_SESSION['language']?>">
|
|
|
<?php if (($_SESSION['DEBUG_MODE']) == "true" ) {?>
|
|
|
- <div style="font-size:12px !important; padding:12px;position:sticky;top:0;z-index:3000;background-color:">
|
|
|
+ <div style="font-size:12px !important; padding:12px;position:sticky;top:0;z-index:3000;background-color:#fff;">
|
|
|
<?php
|
|
|
echo "<h3>Server Variables</h3>";
|
|
|
foreach ($_SERVER as $key=>$val)
|