> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:squirrelmail-
> [EMAIL PROTECTED] On Behalf Of Nick Fisher
> Sent: Tuesday, September 06, 2005 6:09 AM
> To: [email protected]
> Subject: [SM-USERS] Timezone option not present
>
> Hi,
>
> 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.
>
> 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 ...
* 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
*/
$tzChangeAllowed = (!ini_get('safe_mode')) ||
!strcmp(ini_get('safe_mode_allowed_env_vars'),'') ||
preg_match('/^([\w_]+,)*TZ/',
ini_get('safe_mode_allowed_env_vars'));
--
Marc
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users