@@ -2,6 +2,9 @@
require_once '/var/www/html/vendor/autoload.php';
$array = [];
+$array['ssl']=false;
+if($_SERVER['SERVER_PORT']==443){$array['ssl']=true;}
+
$array['title'] = $_SERVER['CUSTOM_SERVER_NAME'];
$items = array(
@@ -7,7 +7,7 @@
<style type="text/css">
html, body {
margin: 0;
- background-color: #F5F5F5;
+ background-color: {% if not ssl %}#CD5C5C{% else %}#32CD32{% endif %};
font-size: 15px;
font-weight: 400;
}