X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fvalidate.php;h=9849264c5c3c7a3a43ac9432fcd25786c7017bfb;hp=3763001cbb91fd17d5217d4da4788d57884ac3b2;hb=f9d9d7a8981755c93591cf8036873276f0e1f4b7;hpb=2044f95a9a51cd0ad1b75b3a2b811e94bcf1f49f diff --git a/src/validate.php b/src/validate.php index 3763001c..9849264c 100644 --- a/src/validate.php +++ b/src/validate.php @@ -80,7 +80,7 @@ global $username, $data_dir; set_up_language(getPref($data_dir, $username, 'language')); $timeZone = getPref($data_dir, $username, 'timezone'); -if ( $timeZone != SMPREF_NONE ) { +if ( $timeZone != SMPREF_NONE && !ini_get("safe_mode")) { putenv("TZ=".$timeZone); } ?>