From: Marc P. <ma...@en...> - 2005-09-06 15:10:01
|
> -----Original Message----- > From: squ...@li... [mailto:squirrelmail- > use...@li...] On Behalf Of Nick Fisher > Sent: Tuesday, September 06, 2005 6:09 AM > To: squ...@li... > Subject: [SM-USERS] Timezone option not present >=20 > Hi, >=20 > I'm using Squirrelmail v1.4.2 on my domain, and I want to be able to set > the timezone for my setup so that sent emails reflect the GMT timezone > here, rather than the EST timezone of the server that I'm hosted on. All > of the help pages say to change the option in the 'Preferences' section, > but it isn't available on my setup. >=20 > In a previous version of SM under a diffenet provider, they were able to > add the option for me. Does anyone know how this can be done? I've > searched the plugins, but to no avail.... I'm not an authority but looking at the tail of include/validate.php, it appears that functionality is only available if your server's php configuration allows it -- /* Check to see if we are allowed to set the TZ environment variable. * We are able to do this if ...=20 * safe_mode is disabled OR * safe_mode_allowed_env_vars is empty (you are allowed to set any) OR * safe_mode_allowed_env_vars contains TZ=20 */ $tzChangeAllowed =3D (!ini_get('safe_mode')) || !strcmp(ini_get('safe_mode_allowed_env_vars'),'') || preg_match('/^([\w_]+,)*TZ/', ini_get('safe_mode_allowed_env_vars')); -- Marc |