diff options
author | Simon Rettberg | 2023-10-06 16:04:15 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-06 16:04:15 +0200 |
commit | 2ecd2ba90d499ce4b35028460e6f84c1e1f71608 (patch) | |
tree | 208f2f6a78ef6294d3437f9da970038fe5a29b36 /config.php.example | |
parent | Fix a few deprecation warnings on PHP 8.2 (diff) | |
download | slx-admin-2ecd2ba90d499ce4b35028460e6f84c1e1f71608.tar.gz slx-admin-2ecd2ba90d499ce4b35028460e6f84c1e1f71608.tar.xz slx-admin-2ecd2ba90d499ce4b35028460e6f84c1e1f71608.zip |
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.
Diffstat (limited to 'config.php.example')
-rw-r--r-- | config.php.example | 2 |
1 files changed, 2 insertions, 0 deletions
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, |