From 2ecd2ba90d499ce4b35028460e6f84c1e1f71608 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 6 Oct 2023 16:04:15 +0200 Subject: config: 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. --- config.php.example | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.php.example') diff --git a/config.php.example b/config.php.example index c0921d28..6b291cd1 100644 --- a/config.php.example +++ b/config.php.example @@ -33,6 +33,8 @@ define('CONFIG_BIOS_URL', 'https://bwlp-masterserver.ruf.uni-freiburg.de/bios/li define('CONFIG_PRODUCT_NAME', 'OpenSLX'); define('CONFIG_PRODUCT_NAME_LONG', 'OpenSLX Admin'); +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