Skip to content

Commit

Permalink
Merge pull request #220 from silinternational/feature/remove-timezone
Browse files Browse the repository at this point in the history
remove TIMEZONE config option
  • Loading branch information
briskt authored Jun 14, 2024
2 parents 2914b37 + 3a5afe7 commit a94f8ba
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions development/idp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -204,7 +203,7 @@
*
* See this page for a list of valid timezones: http://php.net/manual/en/timezones.php
*/
'timezone' => $TIMEZONE,
'timezone' => 'GMT',



Expand Down
3 changes: 1 addition & 2 deletions development/idp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -204,7 +203,7 @@
*
* See this page for a list of valid timezones: http://php.net/manual/en/timezones.php
*/
'timezone' => $TIMEZONE,
'timezone' => 'GMT',



Expand Down
3 changes: 1 addition & 2 deletions development/idp3-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -131,7 +130,7 @@
*
* See this page for a list of valid timezones: http://php.net/manual/en/timezones.php
*/
'timezone' => $TIMEZONE,
'timezone' => 'GMT',

/*
* Logging.
Expand Down
3 changes: 1 addition & 2 deletions development/sp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions development/sp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions development/sp3-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions dockerbuild/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -204,7 +203,7 @@
*
* See this page for a list of valid timezones: http://php.net/manual/en/timezones.php
*/
'timezone' => $TIMEZONE,
'timezone' => 'GMT',



Expand Down

0 comments on commit a94f8ba

Please sign in to comment.