diff options
author | Simon Rettberg | 2023-10-06 16:03:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-06 16:03:28 +0200 |
commit | fdd88784e6c526c4ef2f954ddeadc17a02c8dda3 (patch) | |
tree | 4d7a561d46f2fea134a0ba55c42d4f26e4ac30e0 /satellit_installer | |
parent | [SSPS] timesync: Fix infinite loop (diff) | |
download | setup-scripts-fdd88784e6c526c4ef2f954ddeadc17a02c8dda3.tar.gz setup-scripts-fdd88784e6c526c4ef2f954ddeadc17a02c8dda3.tar.xz setup-scripts-fdd88784e6c526c4ef2f954ddeadc17a02c8dda3.zip |
[SSPS] slx-admin: Explicitly set timezone
PHP 8.x defaults to UTC instead of system locale if nothing
is set in php.ini - force TZ in config.php to be safe.
Diffstat (limited to 'satellit_installer')
-rw-r--r-- | satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php b/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php index 8b637c0..0d50518 100644 --- a/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php +++ b/satellit_installer/static_files/slxadmin/srv/openslx/www/slx-admin/config.php @@ -37,6 +37,8 @@ define('CONFIG_BIOS_URL', 'https://bwlp-masterserver.ruf.uni-freiburg.de/bios/li define('CONFIG_PRODUCT_NAME', 'bwLehrpool'); define('CONFIG_PRODUCT_NAME_LONG', 'bwLehrpool Admin Interface'); +date_default_timezone_set('Europe/Berlin'); + // Sort order for menu // Optional - if missing, will be sorted by module id (internal name) // Here it is also possible to assign a module to a different category, |