Visitor count fix

This commit is contained in:
2020-07-18 12:51:36 +02:00
parent 5254f3488b
commit 852d94e736
6 changed files with 32 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<?php
define("WEBBASE_VERSION", "1.0.2");
define("WEBBASE_VERSION", "1.0.3");
function getProtocol() {
return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";