1st commit for syncing own Jlog developments with master

This commit is contained in:
RobbBienert 2024-10-04 16:40:09 +02:00
parent 2ae67af572
commit 517c58344d
54 changed files with 1784 additions and 1062 deletions

12
scripts/proto.inc.php Normal file
View file

@ -0,0 +1,12 @@
<?php
function proto() {
if (isset($_SERVER['REQUEST_SCHEME']))
return $_SERVER['REQUEST_SCHEME'];
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on')
return 'https';
return 'http';
}
// eof