Permission syntax fix, adding regex replacements for routing, color fix

This commit is contained in:
2020-07-13 17:57:03 +02:00
parent 7fa02a1f39
commit 35637ddc37
5 changed files with 23 additions and 9 deletions

View File

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