From 3a5afe7b8237e99b92dbf0ab90fa850513298a40 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:28:29 +0800 Subject: [PATCH] remove TIMEZONE config option --- development/idp-local/config/config.php | 3 +-- development/idp2-local/config/config.php | 3 +-- development/idp3-local/config/config.php | 3 +-- development/sp-local/config/config.php | 3 +-- development/sp2-local/config/config.php | 3 +-- development/sp3-local/config/config.php | 3 +-- dockerbuild/config/config.php | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/development/idp-local/config/config.php b/development/idp-local/config/config.php index 3511775c..c96b6ca9 100644 --- a/development/idp-local/config/config.php +++ b/development/idp-local/config/config.php @@ -46,7 +46,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $ENABLE_DEBUG = Env::get('ENABLE_DEBUG', false); $LOGGING_LEVEL = Env::get('LOGGING_LEVEL', 'NOTICE'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'stderr'); @@ -208,7 +207,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT', diff --git a/development/idp2-local/config/config.php b/development/idp2-local/config/config.php index 3511775c..c96b6ca9 100644 --- a/development/idp2-local/config/config.php +++ b/development/idp2-local/config/config.php @@ -46,7 +46,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $ENABLE_DEBUG = Env::get('ENABLE_DEBUG', false); $LOGGING_LEVEL = Env::get('LOGGING_LEVEL', 'NOTICE'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'stderr'); @@ -208,7 +207,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT', diff --git a/development/idp3-local/config/config.php b/development/idp3-local/config/config.php index 6673268b..ffddbb6c 100644 --- a/development/idp3-local/config/config.php +++ b/development/idp3-local/config/config.php @@ -19,7 +19,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'syslog'); $SESSION_DURATION = (int)(Env::get('SESSION_DURATION', 540)); $SESSION_DATASTORE_TIMEOUT = (int)(Env::get('SESSION_DATASTORE_TIMEOUT', (4 * 60 * 60))); // 4 hours @@ -132,7 +131,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT', /* * Logging. diff --git a/development/sp-local/config/config.php b/development/sp-local/config/config.php index 2608cec5..ae232eb8 100644 --- a/development/sp-local/config/config.php +++ b/development/sp-local/config/config.php @@ -27,7 +27,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $ENABLE_DEBUG = Env::get('ENABLE_DEBUG', false); $LOGGING_LEVEL = Env::get('LOGGING_LEVEL', 'NOTICE'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'stderr'); @@ -167,7 +166,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT', /* * Logging. diff --git a/development/sp2-local/config/config.php b/development/sp2-local/config/config.php index f1b6c903..29adefd1 100644 --- a/development/sp2-local/config/config.php +++ b/development/sp2-local/config/config.php @@ -27,7 +27,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $ENABLE_DEBUG = Env::get('ENABLE_DEBUG', false); $LOGGING_LEVEL = Env::get('LOGGING_LEVEL', 'NOTICE'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'stderr'); @@ -167,7 +166,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT', /* * Logging. diff --git a/development/sp3-local/config/config.php b/development/sp3-local/config/config.php index df03c377..b455b426 100644 --- a/development/sp3-local/config/config.php +++ b/development/sp3-local/config/config.php @@ -27,7 +27,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $ENABLE_DEBUG = Env::get('ENABLE_DEBUG', false); $LOGGING_LEVEL = Env::get('LOGGING_LEVEL', 'NOTICE'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'stderr'); @@ -167,7 +166,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT', /* * Logging. diff --git a/dockerbuild/config/config.php b/dockerbuild/config/config.php index 74da5399..6a20f033 100644 --- a/dockerbuild/config/config.php +++ b/dockerbuild/config/config.php @@ -46,7 +46,6 @@ $ADMIN_NAME = Env::get('ADMIN_NAME', 'SAML Admin'); $ADMIN_PROTECT_INDEX_PAGE = Env::get('ADMIN_PROTECT_INDEX_PAGE', true); $SHOW_SAML_ERRORS = Env::get('SHOW_SAML_ERRORS', false); -$TIMEZONE = Env::get('TIMEZONE', 'GMT'); $ENABLE_DEBUG = Env::get('ENABLE_DEBUG', false); $LOGGING_LEVEL = Env::get('LOGGING_LEVEL', 'NOTICE'); $LOGGING_HANDLER = Env::get('LOGGING_HANDLER', 'stderr'); @@ -208,7 +207,7 @@ * * See this page for a list of valid timezones: http://php.net/manual/en/timezones.php */ - 'timezone' => $TIMEZONE, + 'timezone' => 'GMT',