mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-31 21:17:23 +02:00
properly set correct timezone
This commit is contained in:
@@ -31,7 +31,8 @@ if [ ! -d /usr/local/lib/z-push ]; then
|
||||
fi
|
||||
|
||||
# Configure default config
|
||||
# TODO: Add timezone etc?
|
||||
TIMEZONE=`cat /etc/timezone`
|
||||
sed -i "s/define('TIMEZONE', .*/define('TIMEZONE', '$TIMEZONE');/" /usr/local/lib/z-push/config.php
|
||||
sed -i "s/define('BACKEND_PROVIDER', .*/define('BACKEND_PROVIDER', 'BackendCombined');/" /usr/local/lib/z-push/config.php
|
||||
|
||||
# Configure BACKEND
|
||||
|
||||
Reference in New Issue
Block a user