diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 30ba04ea1110d938a5a57ab0dd2dad8398a4d726..eac79e9872d241e53e29028ff425ab9de6bcb773 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -811,6 +811,8 @@ function get_system_timezone() { exec('date +%Z', $tzinfo); $timezone = $tzinfo[0]; } + + if(substr($timezone, 0, 1) === '/') $timezone = substr($timezone, 1); return $timezone; }