projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed putenv usage only if safemode=off
[squirrelmail.git]
/
src
/
validate.php
diff --git
a/src/validate.php
b/src/validate.php
index 3763001cbb91fd17d5217d4da4788d57884ac3b2..9849264c5c3c7a3a43ac9432fcd25786c7017bfb 100644
(file)
--- 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);
}
?>