From fdd88784e6c526c4ef2f954ddeadc17a02c8dda3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 6 Oct 2023 16:03:28 +0200 Subject: [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. --- .../static_files/slxadmin/srv/openslx/www/slx-admin/config.php | 2 ++ 1 file changed, 2 insertions(+) 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, -- cgit v1.2.3-55-g7522