mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Set Timezone in all places and it needs to be set in and sperated it into a seperate include
This commit is contained in:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user