Set Timezone in all places and it needs to be set in and sperated it into a seperate include

This commit is contained in:
johnnyq
2024-04-17 12:53:11 -04:00
parent 7c10bbacd7
commit 888552724a
16 changed files with 59 additions and 31 deletions

View File

@@ -10,6 +10,8 @@ if (!file_exists('config.php')) {
require_once "config.php";
// Set Timezone
require_once "inc_set_timezone.php";
// Check if the application is configured for HTTPS-only access
if ($config_https_only && (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] !== 'on') && (!isset($_SERVER['HTTP_X_FORWARDED_PROTO']) || $_SERVER['HTTP_X_FORWARDED_PROTO'] !== 'https')) {