mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +03:00
Uncaught exception: Exception: DateTimeZone::__construct(): Unknown or bad timezone (UTC+1) #1417
This commit is contained in:
parent
be8d302b82
commit
c04a5da865
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ class Application extends \RainLoop\Config\AbstractConfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!\in_array($this->Get('logs', 'time_zone', ''), \DateTimeZone::listIdentifiers())) {
|
||||||
|
$this->Set('logs', 'time_zone', 'UTC');
|
||||||
|
}
|
||||||
|
|
||||||
return $bResult;
|
return $bResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue